# Fixed warnings display
$ /includes/errors.inc
+08-Dec-2008 Joe Hunt
+# Bad and missing parameter to header2 funciton
+$ /reporting/rep109.php
+ /reporting/rep209.php
+! Rerun of invoice_ui.inc
+$ /purchasing/includes/ui/invoice_ui.inc
+
07-Dec-2008 Joe Hunt
! Better layout. Copyright notes. Mailto links, outer table routines.
$ /admin/company_preferences.php
else
$heading = _("GL Items for this Credit Note");
+ display_heading($heading);
+
vertical_space(); // ouer table
div_start('gl_items');
else
$heading = _("Received Items Credited on this Note");
}
- echo "<table width=100% >";
- echo "<tr><td align=center><span class='headingtext'>$heading</span></td>";
+
+ start_outer_table("width=100%");
+
+ display_heading($heading);
+
if ($mode == 1)
{
- submit_cells('InvGRNAll', _("Add All Items"), "align=right",false,true);
if ($heading2 != "")
- {
- echo "</tr><td>";
- display_note($heading2, 0, 0, "class='overduefg'");
- echo "</td>\n";
- }
+ display_note($heading2."</td>", 0, 0, "class='overduefg'");
+ submit_cells('InvGRNAll', _("Add All Items"), "align=right",false,true);
}
- echo "</tr></table>";
- vertical_space(); // outer table
+ end_outer_table(0, false);
div_start('grn_items');
start_table("$table_style width=100%");
$rep->TextCol(6, 7, $DisplayNet, -2);
$rep->NewLine(1);
if ($rep->row < $rep->bottomMargin + (15 * $rep->lineHeight))
- $rep->Header2($myrow, $branch, $sales_order, $baccount);
+ $rep->Header2($myrow, $branch, $myrow, $baccount, 9);
}
if ($myrow['comments'] != "")
{
$rep->TextCol(6, 7, $DisplayNet, -2);
$rep->NewLine(1);
if ($rep->row < $rep->bottomMargin + (15 * $rep->lineHeight))
- $rep->Header2($myrow, $branch, $sales_order, $baccount);
+ $rep->Header2($myrow, $branch, $myrow, $baccount, 8);
}
if ($myrow['comments'] != "")
{