else
$heading = _("GL Items for this Credit Note");
+ start_outer_table("width=100%");
+
+ if ($mode == 1)
+ {
+ $qes = has_quick_entries(-1, 0);
+ if ($qes !== false)
+ {
+ echo "<div style='float:right;'>";
+ echo _("Quick Entry:")." ";
+ quick_entries_list('qid', null, 0, 1);
+ echo " "._("Amount")." ";
+ $amount = input_num('totamount');
+ $dec = user_price_dec();
+ echo "<input class='amount' type='text' name='totamount' size='7' maxlength='12' dec='$dec' value='$amount'> ";
+ submit('go', _("Go"), true, false, true);
+ echo "</div>";
+ }
+ }
display_heading($heading);
+ end_outer_table(0, false);
+
vertical_space(); // ouer table
div_start('gl_items');