Added document Receipt and small rearrangements and bugfixes
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index de745b5a1a86ff07ee19777f18da28b01af050ae..426e135b8f0156894b69ab691855fcdb39d8a5c3 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)