SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Question about templates for PDF output › Reply To: Question about templates for PDF output
I see in the si_invoices table in phpMyAdmin that they are called custom_field1, custom_field2 etc but if I edit my manage.tpl file code from this:
"columns": [
{"data": "action"},
{"data": "index_id"},
{"data": "biller"},
to this:
"columns": [
{"data": "action"},
{"data": "index_id"},
{"data": "custom_field1"},
What I get when I reloead the web page is this error alert box:
DataTables warning: table id=si-data-table – Requested unknown parameter ‘custom_field1’ for row 0, column 2. For more information about this error, please see http://datatables.net/tn/4
I don’t see the biller being one of the si_invoices table columns so I have a feeling I’m changing the wrong part of the code, but that is the only place I see the word “biller” appear in the manage.tpl file and I don’t see it appear anywhere else in that file or in the manage.php file.
What am I missing?
Recent Comments