search for: invoiceitem_counter

Displaying 2 results from an estimated 2 matches for "invoiceitem_counter".

2005 Dec 15
12
Adding multiple invoice items to an invoice on the same form
Hi Friends , Got a unique requirement .I am designing a invoice printing system .So right now I have the NEW page for adding the invoice details to the table .Now I have the requirement of adding Invoice Items In the same form .I have added multiple text boxes to enter the values of the Items using <%= text_field ''invoiceitems[]'', ''item_price''
2005 Dec 20
0
Dynamic fields creation and accessing data
...some errors.I am trying this to implement dynamic creation of invoice items in invoices using AJAX .Please go thru . I added a partial :: <% @invoiceitem = invoiceitem -%> <%= text_field ''invoiceitem'', ''item_price'', ''index'' => invoiceitem_counter %> <%= text_field ''invoiceitem'', ''item_qty'', ''index'' => invoiceitem_counter %> Where are we initialising the counter? Please tell how is the first line working . In the rhtml file I have added : <%= form_remote_tag(:updat...