echo "<tr><td align=center><span class='headingtext'>$heading</span></td>";
if ($mode == 0)
{
- submit_cells('InvGL', _("Edit"), "align=right");
+ submit_cells('InvGL', _("Edit"), "align=right",
+ _('Moves to additional costs posting page'), true);
}
echo "</tr></table>";
echo "</td></tr><tr><td>"; // ouer table
+ div_start('gl_items');
echo "<table width=100% $table_style>";
$dim = get_company_pref('use_dimension');
label_cell($entered_gl_code->memo_);
if ($mode == 1)
- delete_link_cell(SID . "Delete=" . $entered_gl_code->Counter);
+ edit_button_cell("Delete" . $entered_gl_code->Counter, _("Delete"),
+ _('Remove line from document'));
end_row();
"colspan=".$colspan." align=right", "nowrap align=right");
echo "</table>";
+ div_end();
echo "</td></tr>";
end_table(); // outertable
-
return $total_gl_value;
}
$heading = _("Received Items Charged on this Invoice");
else
$heading = _("Received Items Credited on this Note");
-
echo "<table width=100% >";
echo "<tr><td align=center><span class='headingtext'>$heading</span></td>";
if ($mode == 0)
{
- submit_cells('InvGRN', _("Edit"), "align=right");
+ submit_cells('InvGRN', _("Edit"), "align=right",
+ _('Moves to GRN selection page'), true);
}
echo "</tr></table>";
echo "</td></tr><tr><td>"; // outer table
+ div_start('grn_items');
echo "<table width=100% $table_style>";
$th = array(_("Delivery Sequence #"), _("Item"), _("Description"),
_("Quantity"), _("Price"), _("Line Value"));
amount_cell( round($entered_grn->chg_price * abs($entered_grn->this_quantity_inv)), user_price_dec());
if ($mode == 1)
- delete_link_cell(SID . "Delete=" . $entered_grn->id);
+ edit_button_cell("Delete" . $entered_grn->id, _("Delete"),
+ _('Remove item from document'));
end_row();
label_row(_("Total"), price_format($total_grn_value),
"colspan=5 align=right", "nowrap align=right");
echo "</table>";
-
+ div_end();
echo "</td></tr>";
end_table(); // outertable
-
return $total_grn_value;
}