Jump to content

sparkalina

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    SP
  1. sparkalina

    Batch Printing without Frames or PDF

    I answered my own question. In print_batch_invoice.php Around Line 117 I found: <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> I copied the above section in notepad and changed it to my own labels (shown below). I then replaced the above section with my changes below. Now my invoice prints out nice and neat. No errors found yet. <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2">Product</td> <td class="dataTableHeadingContent">Model</td> <td class="dataTableHeadingContent" align="right">Tax</td> <td class="dataTableHeadingContent" align="right">Price minus Tax</td> <td class="dataTableHeadingContent" align="right">Price plus Tax</td> <td class="dataTableHeadingContent" align="right">Total Excluding Tax</td> <td class="dataTableHeadingContent" align="right">Total Including Tax</td> </tr> I realize this is a quick fix, it does not solve the problem but until someone figures it out, I'm going with this.
  2. sparkalina

    Batch Printing without Frames or PDF

    I have installed this wonderful contribution, but I've come across an oddity. When I choose to print a batch of invoices, print_batch_process.php spits out everything perfectly except ONE thing. The header row for the order table spits out the actual field name and not the neat and clean alias name IE Instead of printing out "Product Name", it prints out " TABLE_HEADING_PRODUCTS" This wastes an incredible amount of space on the printed page because the field names are very very long. Did I mess something up or is everyone seeing these? TIA
×