projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb5670
)
Fixed bug in work order view.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Thu, 21 Jan 2016 09:53:33 +0000
(10:53 +0100)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Thu, 21 Jan 2016 16:54:18 +0000
(17:54 +0100)
includes/types.inc
patch
|
blob
|
history
diff --git
a/includes/types.inc
b/includes/types.inc
index 7242f86c64ecb7a523505f21e8974de5814e6737..959c1cd1360a94c58c361d5b46999babe37f42fe 100644
(file)
--- a/
includes/types.inc
+++ b/
includes/types.inc
@@
-130,7
+130,7
@@
function payment_person_name($type, $person_id, $full=true) {
return ($full ? $payment_person_types[$type] . " ":"") . $qe["description"];
case PT_WORKORDER :
global $wo_cost_types;
- return
$wo_cost_types[$person_id]
;
+ return
get_trans_view_str(ST_WORKORDER, $person_id, _('Work Order').' '.$person_id)
;
case PT_CUSTOMER :
return ($full ?$payment_person_types[$type] . " ":"") . sprintf("[%05s] %s", $person_id, get_customer_name($person_id));
case PT_SUPPLIER :