if (isset($_GET['supplier_id'])){
$_POST['supplier_id'] = $_GET['supplier_id'];
}
+
if (isset($_GET['FromDate'])){
$_POST['TransAfterDate'] = $_GET['FromDate'];
}
$pastdue2 = _('Over') . " " . $past2 . " " . _('Days');
- start_table(TABLESTYLE, "width=80%");
+ start_table(TABLESTYLE, "width='80%'");
$th = array(_("Currency"), _("Terms"), _("Current"), $nowdue,
$pastdue1, $pastdue2, _("Total Balance"));
global $systypes_array;
return $systypes_array[$type];
}
-div_end();
function trans_view($trans)
{
function edit_link($row)
{
+ global $page_nested;
+
+ if ($page_nested)
+ return '';
return trans_editor_link($row['type'], $row['trans_no']);
}
//------------------------------------------------------------------------------------------------