b-b-a / bba-power

1 stars 0 forks source link

New Fields for Client - Co No, Address, Vat No, Pay #167

Closed ghost closed 12 years ago

ghost commented 12 years ago

numberCompany, idRegAddress, numberVAT, methodPay. New fields to go onto Client Details, Add and Edit before loa document.

Client Details: Company Number: VAT number: Payment method: for the Registered Address: if it is the same as Main Address (client_idAddress) then change the title "Main Address" ==> "Main & Registered Address" (this is going to be the norm) otherwise create an extra section for Registered Address.

Add: the client_idRegAddress is the same as the client_idAddress (i.e. only ask for one address as now)

Edit: the client_idRegAddress(R) - drop down of available address as for Main Address

Add and Edit: New (R) fields Company Number: VAT number: BUT on the same line(?) of each is a tick box followed by "Not a Registered Company" and "Not VAT Registered" When the user ticks these, that text is put into the field value (simple JS?). (so we should get consistent content) Zero is not allowed.

Add and Edit: New (R) field Payment method: Take option from tables - use first option as default.

Note: Please swap LOA document and date round on the Display so they are in the same order as the edit box.

ghost commented 12 years ago

All seems to be working but the Payment Method is not shown on the Client Display.