Hi Justin and fellow forum folks,
I was visiting http://www.[mydomainname].com.au/[simpleinvoicesfolder]/index.php?module=customers&view=manage and thought that it would neat to see also the 'Customer Contact' name in this list.
CURRENTLY:
Actions | Name | Total | Owing |Enabled
PROPOSED:
Actions | Name | Attn: | Total | Owing |Enabled
Note the included colum for the contact person that we add in the Attn: field.
This extra detail will help me discover particular persons or departments within one company who still owe me $$$$.
Example:
Business Name | Person 1 = $0 due
Business Name | Person 2 = $150.00 due
Business Name | Person 3 = $0 due
At the moment they would turn up like below:
Business Name = $0 due
Business Name = $150.00 due
Business Name = $0 due
I think the extra piece of information would be valueable to other SimpleInvoice users also. Would be interested to hear your thoughts.
Fiona
hey fiona
this type of thing can be done with whichever version of Simple Invoices with a few mods
basically edit modules/invoices/xml.php and at the bottom of the file it shows which fields get sent to the Manage Invoices page
- you can copy a line and change it to $customer.attn - or whatever teh db field is caled - not in front of PC with the code/db etc.
- then edit module/invoices/manage.js.php and find the section that details how each field is displayed - you can jsut change 1 field to be $customer.attn
it might not be that simple but its pretty much how its done
note: you may also have to edit the main function that gets that data from the db, just needs to add the new required field into the sql
let me know your thoughts
cheers
justin
note - the above examples i wrote where for the Invoices/Manage page - and now notiecd you were talking about Customers/Manage
the solution is pretty much the same but for the customers files and not invoices
cheers
justin
hey justin,
I am trying to do something similar and have been trying for awhile to get it to show the custom_field2 from invoices but no luck. I added $xml .= ""; to the xml.php and added another column in manage.js.php and it would hang at processing, please wait when i run it.
btw great program!, i have been looking for something like this forever.
any help would be greatly appreciated.
jj
hey jj
open firebug then the page loads and check what javascritp errors its complaining about
post here with the details
cheers
justin
hai all,
i want to display the customer id field in manage customer page from database.
how can i do that ?
can any one please tell me....
its very important and really urgent....
please please please.......................
original:
action|name|total|owing|enabled|
i want to display like this:
action|id |name|total|owing|enabled|
and another thing is i displayed like this in manage page.but the value from database is not displaying....
can any one solve my problem...
answer will be really appreciated........
It looks like you're new here. If you want to get involved, click one of these buttons!