projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional fixes in write_customer() definition.
[fa-stable.git]
/
purchasing
/
inquiry
/
po_search.php
diff --git
a/purchasing/inquiry/po_search.php
b/purchasing/inquiry/po_search.php
index 71228317d99a9eee0aecec8164ed32169e318931..efd650752943570cc799e37c4fe2154021840b2d 100644
(file)
--- a/
purchasing/inquiry/po_search.php
+++ b/
purchasing/inquiry/po_search.php
@@
-86,12
+86,12
@@
function trans_view($trans)
function edit_link($row)
{
function edit_link($row)
{
- return trans_editor_link(ST_PURCHORDER, $
trans
["order_no"]);
+ return trans_editor_link(ST_PURCHORDER, $
row
["order_no"]);
}
function prt_link($row)
{
}
function prt_link($row)
{
- return print_document_link($row['order_no'], _("Print"), true,
18
, ICON_PRINT);
+ return print_document_link($row['order_no'], _("Print"), true,
ST_PURCHORDER
, ICON_PRINT);
}
function receive_link($row)
}
function receive_link($row)
@@
-123,11
+123,11
@@
$cols = array(
_("Currency") => array('align'=>'center'),
_("Order Total") => 'amount',
array('insert'=>true, 'fun'=>'edit_link'),
_("Currency") => array('align'=>'center'),
_("Order Total") => 'amount',
array('insert'=>true, 'fun'=>'edit_link'),
- array('insert'=>true, 'fun'=>'
prt
_link'),
- array('insert'=>true, 'fun'=>'
receive
_link')
+ array('insert'=>true, 'fun'=>'
receive
_link'),
+ array('insert'=>true, 'fun'=>'
prt
_link')
);
);
-if (get_post('StockLocation') !=
$all_items
) {
+if (get_post('StockLocation') !=
ALL_TEXT
) {
$cols[_("Location")] = 'skip';
}
$cols[_("Location")] = 'skip';
}