From fc9226594c93a0e865e646b209c71327cfcdd5f8 Mon Sep 17 00:00:00 2001 From: abijah Date: Tue, 7 Aug 2012 00:14:54 +0000 Subject: [PATCH] Added customer link on the receipts page git-svn-id: file:///svn-source/pmgr/branches/v0.3_work@1017 97e9348a-65ac-dc4b-aefc-98561f571b83 --- site/views/customers/receipt.ctp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site/views/customers/receipt.ctp b/site/views/customers/receipt.ctp index 6e92f15..11c458c 100644 --- a/site/views/customers/receipt.ctp +++ b/site/views/customers/receipt.ctp @@ -157,7 +157,10 @@ function onRowSelect(grid_id, customer_id) { $("#customer-id").val(customer_id); // Set the customer name, so the user knows who the receipt is for - $("#receipt-customer-name").html($(grid_id).getCell(customer_id, 'Customer-name')); + $("#receipt-customer-name") + .html('' + + $(grid_id).getCell(customer_id, 'Customer-name') + + ''); // Hide the "no customer" message and show the current customer $(".customer-selection-invalid").hide();