projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New combo3 class searchable from start of the code (used in gl accounts list).
[fa-stable.git]
/
inventory
/
view
/
view_transfer.php
diff --git
a/inventory/view/view_transfer.php
b/inventory/view/view_transfer.php
index 0c448712919feff4400379e51affc2886e935523..86ad8bfa23c813074184df7e9da707b4983857b3 100644
(file)
--- a/
inventory/view/view_transfer.php
+++ b/
inventory/view/view_transfer.php
@@
-14,7
+14,7
@@
$path_to_root = "../..";
include($path_to_root . "/includes/session.inc");
include($path_to_root . "/includes/session.inc");
-page(_("View Inventory Transfer"), true);
+page(_(
$help_context =
"View Inventory Transfer"), true);
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
@@
-30,10
+30,10
@@
$transfer_items = get_stock_transfer($trans_no);
$from_trans = $transfer_items[0];
$to_trans = $transfer_items[1];
$from_trans = $transfer_items[0];
$to_trans = $transfer_items[1];
-display_heading(
systypes::name(systypes::location_transfer())
. " #$trans_no");
+display_heading(
$systypes_array[ST_LOCTRANSFER]
. " #$trans_no");
echo "<br>";
echo "<br>";
-start_table(
"$table_style2
width=90%");
+start_table(
TABLESTYLE2, "
width=90%");
start_row();
label_cells(_("Item"), $from_trans['stock_id'] . " - " . $from_trans['description'], "class='tableheader2'");
start_row();
label_cells(_("Item"), $from_trans['stock_id'] . " - " . $from_trans['description'], "class='tableheader2'");
@@
-47,16
+47,15
@@
label_cells(_("Adjustment Type"), $adjustment_type['name'], "class='tableheader2
label_cells(_("Date"), sql2date($from_trans['tran_date']), "class='tableheader2'");
end_row();
label_cells(_("Date"), sql2date($from_trans['tran_date']), "class='tableheader2'");
end_row();
-comments_display_row(
systypes::location_transfer()
, $trans_no);
+comments_display_row(
ST_LOCTRANSFER
, $trans_no);
-end_table(
1
);
+end_table(
2
);
-echo "<br>";
-start_table("$table_style width=90%");
+start_table(TABLESTYLE, "width=90%");
$th = array(_("Item"), _("Description"), _("Quantity"), _("Units"));
table_header($th);
$th = array(_("Item"), _("Description"), _("Quantity"), _("Units"));
table_header($th);
-$transfer_items = get_stock_moves(
systypes::location_transfer()
, $trans_no);
+$transfer_items = get_stock_moves(
ST_LOCTRANSFER
, $trans_no);
$k = 0;
while ($item = db_fetch($transfer_items))
{
$k = 0;
while ($item = db_fetch($transfer_items))
{
@@
-74,7
+73,7
@@
while ($item = db_fetch($transfer_items))
end_table(1);
end_table(1);
-is_voided_display(
systypes::location_transfer()
, $trans_no, _("This transfer has been voided."));
+is_voided_display(
ST_LOCTRANSFER
, $trans_no, _("This transfer has been voided."));
-end_page(true);
+end_page(true
, false, false, ST_LOCTRANSFER, $trans_no
);
?>
\ No newline at end of file
?>
\ No newline at end of file