It looks like you're new here. If you want to get involved, click one of these buttons!
I have been using Fuel for a while now, and I just love it !
I think it's a perfect balance for many things.
I am now trying to go to the next level
I would like to edit invoice details in the CMS, so for example,
Invoice table :
invoice_id, customer_name, address, city, etc ...
Items table :
item_id, invoice_id, description, quantity, price
(one to many)
In the form_fields of my Invoice_model, I added a template field :
$fields['invoice_items'] = [ 'view'=> '_admin/items', 'type' => 'template', 'repeatable' => true, 'fields' => [ 'description' => [ 'style' => 'width: 400px; text-align:left' ], 'quantity' => [ 'style' => 'width: 40px; text-align:center' ], 'price' => [ 'style' => 'width: 60px; text-align:right' ] ] ];
and it displays correctly in the create/edit view.
I have several questions :