$_POST['gl_code'] = $accs['purchase_account'];
alt_table_row_color($k);
- gl_all_accounts_list('gl_code', null, true, true);
+ echo gl_all_accounts_list('gl_code', null, true, true);
$dim = get_company_pref('use_dimension');
if ($dim >= 1)
dimensions_list_cells(null, 'dimension_id', null, true, " ", false, 1);
{
echo "<div style='float:right;'>";
echo _("Quick Entry:")." ";
- quick_entries_list('qid', null, QE_SUPPINV, true);
+ echo quick_entries_list('qid', null, QE_SUPPINV, true);
$qid = get_quick_entry(get_post('qid'));
if (list_updated('qid')) {
unset($_POST['totamount']); // enable default
display_gl_controls($supp_trans, $k);
$colspan = ($dim == 2 ? 4 : ($dim == 1 ? 3 : 2));
label_row(_("Total"), price_format($total_gl_value),
- "colspan=".$colspan." align=right", "nowrap align=right");
+ "colspan=".$colspan." align=right", "nowrap align=right", ($mode==1?3:1));
end_table();
div_end();