! -> Note
$ -> Affected files
+30-Jan-2009 Joe Hunt
++ Outputs/Inputs on tax inquiry as well (why not)
+$ /gl/inquiry/tax_inquiry.php
+
29-Jan-2009 Joe Hunt
# A few minor fixes to get the tax report and inquiry right and syncronized
$ /gl/includes/db/gl_db_trans.inc
div_start('trans_tbl');
start_table($table_style);
- $th = array(_("Type"), _("Description"), _("Amount"));
+ $th = array(_("Type"), _("Description"), _("Amount"), _("Outputs")."/"._("Inputs"));
table_header($th);
$k = 0;
$total = 0;
label_cell($tx['name'] . " " . $tx['rate'] . "%");
label_cell(_("Charged on sales") . " (" . _("Output Tax")."):");
amount_cell($collectible);
+ amount_cell($tx['net_input']);
end_row();
alt_table_row_color($k);
label_cell($tx['name'] . " " . $tx['rate'] . "%");
label_cell(_("Paid on purchases") . " (" . _("Input Tax")."):");
amount_cell($payable);
+ amount_cell($tx['net_output']);
end_row();
alt_table_row_color($k);
label_cell("<b>".$tx['name'] . " " . $tx['rate'] . "%</b>");