X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=purchasing%2Fincludes%2Fui%2Finvoice_ui.inc;h=196db747f322249719b6716d1cfd413a82d9e63e;hb=eeb82d4707125d5d98916ec846d0d83b605af8b2;hp=b583553f10ec3e66dc4704b03fa340a3fffb1cd9;hpb=99730b8d6deb7e81d2f1ebeb2ce7066d27729485;p=fa-stable.git diff --git a/purchasing/includes/ui/invoice_ui.inc b/purchasing/includes/ui/invoice_ui.inc index b583553f..196db747 100644 --- a/purchasing/includes/ui/invoice_ui.inc +++ b/purchasing/includes/ui/invoice_ui.inc @@ -178,12 +178,14 @@ function display_gl_items(&$supp_trans, $mode=0) echo "$heading"; if ($mode == 0) { - submit_cells('InvGL', _("Edit"), "align=right"); + submit_cells('InvGL', _("Edit"), "align=right", + _('Moves to additional costs posting page'), true); } echo ""; echo ""; // ouer table + div_start('gl_items'); echo ""; $dim = get_company_pref('use_dimension'); @@ -221,7 +223,8 @@ function display_gl_items(&$supp_trans, $mode=0) 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(); @@ -241,11 +244,11 @@ function display_gl_items(&$supp_trans, $mode=0) "colspan=".$colspan." align=right", "nowrap align=right"); echo "
"; + div_end(); echo ""; end_table(); // outertable - return $total_gl_value; } @@ -281,17 +284,18 @@ function display_grn_items(&$supp_trans, $mode=0) $heading = _("Received Items Charged on this Invoice"); else $heading = _("Received Items Credited on this Note"); - echo ""; echo ""; if ($mode == 0) { - submit_cells('InvGRN', _("Edit"), "align=right"); + submit_cells('InvGRN', _("Edit"), "align=right", + _('Moves to GRN selection page'), true); } echo "
$heading
"; echo ""; // outer table + div_start('grn_items'); echo ""; $th = array(_("Delivery Sequence #"), _("Item"), _("Description"), _("Quantity"), _("Price"), _("Line Value")); @@ -316,7 +320,8 @@ function display_grn_items(&$supp_trans, $mode=0) 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(); @@ -335,11 +340,10 @@ function display_grn_items(&$supp_trans, $mode=0) label_row(_("Total"), price_format($total_grn_value), "colspan=5 align=right", "nowrap align=right"); echo "
"; - + div_end(); echo ""; end_table(); // outertable - return $total_grn_value; }