Merged changes from main trunk up to 2.2.5
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index 8029dc9ccb0a7e5f18088ca54f4b09ab0d9d2f53..8bd2d4c72babe5de35ba9bc3128b3de69be8fa9c 100644 (file)
@@ -194,7 +194,9 @@ function edit_link($row)
 function prt_link($row)
 {
        if ($row['type'] != ST_CUSTPAYMENT && $row['type'] != ST_BANKDEPOSIT) // customer payment or bank deposit printout not defined yet.
-               return print_document_link($row['trans_no'], _("Print"), true, $row['type'], ICON_PRINT);
+               return print_document_link($row['trans_no']."-".$row['type'], _("Print"), true, $row['type'], ICON_PRINT);
+       else    
+               return print_document_link($row['trans_no']."-".$row['type'], _("Print Receipt"), true, ST_CUSTPAYMENT, ICON_PRINT);
 }
 
 function check_overdue($row)