I would like to change the layout of the edit / detail view of the quotes module.
Instead of having the line items like:
Quantity | Product | PartNumber | List | Discount | SalePrice | TaxAmount | Total ||
Description | Note
I would like to have something like:
Quantity | Product | ProductCode | Description | UnitPrice
Also, I would like to have some kind of copy button to copy the line into the next in order to not having to fill out all the fields again but just to change the quantity and the unit price.
Miri
I found it easier to just create a new Quote template myself rather than trying to modify the sample. It seems the sample has some hard coded layout properties that I couldn’t change easily.
Adding your own table and then adding the fields you want was quite simple and now i have an editable document template.
The copy issue is complicated i think.
I am now happy with the Edit view of the quotes module. I got rid of all the unwanted fields by modifying the file line_items.js.
Now, I would like to get rid of those fields in the Detail view as well. How to do this? I did not find the line items information for the detail view.
In case somebody still wonders how to modify the Quote line items detail view, I managed to change which fields appear by editing modules/AOS_Products_Quotes/Line_Items.php
For the edit view, as Miri said, you can edit line_items.js
These changes though, are not upgrade safe. If somebody has a solution for this, please share.