Foreign Primary key in Demo and can relation manager only add existing record but require signature?
I was playing around with the filamentdemo and how there is a table called "shop_category_product" where it shows each record 'shop_category_id' & 'shop_product_id' and I want to know how it knows when to add a new record automatically when a shop product id has added a new record especially the only foreignId I see at the "shop_products" table is the 'shop_brand_id'?
I also have another question, I tried the relation manager in the vet management guide, is it possible to only be able to add existing "treatment" and select from them?
As well as require a signature like uploading a fingerprint image before being saved (Within relation manager as well)
It might help better to understand my situation.
I am creating a project thesis where we create a online borrowing website.
I thought it be user-friendly if its straightforward where a student assistance (school context) just go to a user edit and attach an item to the user but it needs to have a fingerprint signature to make sure that the borrowing was legit.
I was planning initially to just create a form and add a repeater to it and manually keep adding the items but that seems to be a lot of hassle for the student assistance. Our goal is to simplify the borrowing while also making sure that every changes in the inventory is tracked accurately.
If you have a suggestion on how I could approach this better, please advice me. Thank you
0 Replies