From 3cd7b50f894bb2bee7d055d98694363d3a29aac0 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 9 Aug 2006 04:41:55 +0000 Subject: [PATCH] Change default receipts so that patron first name isn't exposed and staff last name isn't exposed git-svn-id: svn://svn.open-ils.org/ILS/trunk@5398 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../chrome/content/OpenILS/data.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js index 67abd9d01f..a6de4a1000 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js @@ -143,15 +143,15 @@ OpenILS.data.prototype = { }, 'items_out' : { 'type' : 'items', - 'header' : 'Welcome %PATRON_FIRSTNAME%, to %LIBRARY%!
\r\nYou have the following items:
    ', + 'header' : 'Welcome to %LIBRARY%!
    \r\nYou have the following items:
      ', 'line_item' : '
    1. %title%
      \r\nBarcode: %barcode% Due: %due_date%\r\n', - 'footer' : '

    %PINES_CODE% %TODAY_TRIM%
    \r\nYou were helped by %STAFF_FIRSTNAME% %STAFF_LASTNAME%
    \r\n
    \r\n', + 'footer' : '

%PINES_CODE% %TODAY_TRIM%
\r\nYou were helped by %STAFF_FIRSTNAME%
\r\n
\r\n', }, 'checkout' : { 'type' : 'items', - 'header' : 'Welcome %PATRON_FIRSTNAME%, to %LIBRARY%!
\r\nYou checked out the following items:
    ', + 'header' : 'Welcome to %LIBRARY%!
    \r\nYou checked out the following items:
      ', 'line_item' : '
    1. %title%
      \r\nBarcode: %barcode% Due: %due_date%\r\n', - 'footer' : '

    %PINES_CODE% %TODAY_TRIM%
    \r\nYou were helped by %STAFF_FIRSTNAME% %STAFF_LASTNAME%
    \r\n
    \r\n', + 'footer' : '

%PINES_CODE% %TODAY_TRIM%
\r\nYou were helped by %STAFF_FIRSTNAME%
\r\n
\r\n', }, 'offline_checkout' : { 'type' : 'offline_checkout', @@ -167,19 +167,19 @@ OpenILS.data.prototype = { }, 'bill_payment' : { 'type' : 'payment', - 'header' : 'Welcome %PATRON_FIRSTNAME%, to %LIBRARY%!
A receipt of your transaction:
Original Balance: $%original_balance%
Payment Method: %payment_type%
Payment Received: $%payment_received%
Payment Applied: $%payment_applied%
Change Given: $%change_given%
Credit Given: $%credit_given%
New Balance: $%new_balance%

Note: %note%

Specific bills:

', + 'header' : 'Welcome to %LIBRARY%!
A receipt of your transaction:
Original Balance: $%original_balance%
Payment Method: %payment_type%
Payment Received: $%payment_received%
Payment Applied: $%payment_applied%
Change Given: $%change_given%
Credit Given: $%credit_given%
New Balance: $%new_balance%

Note: %note%

Specific bills:

', 'line_item' : 'Bill #%bill_id% Received: $%payment%
', 'footer' : '


%PINES_CODE% %TODAY_TRIM%

', }, 'bills_historical' : { 'type' : 'bills', - 'header' : 'Welcome %PATRON_FIRSTNAME%, to %LIBRARY%!
You had the following bills:
    ', + 'header' : 'Welcome to %LIBRARY%!
    You had the following bills:
      ', 'line_item' : '
      Bill #%id%
      Date:%xact_start%
      Type:%xact_type%
      Last Billing:%last_billing_type%
      %last_billing_note%
      Total Billed:$%total_owed%
      Last Payment:%last_payment_type%
      %last_payment_note%
      Total Paid:$%total_paid%
      Balance:$%balance_owed%

      ', 'footer' : '

    %PINES_CODE% %TODAY_TRIM%
    \r\n
    \r\n', }, 'bills_current' : { 'type' : 'bills', - 'header' : 'Welcome %PATRON_FIRSTNAME%, to %LIBRARY%!
    You have the following bills:
      ', + 'header' : 'Welcome to %LIBRARY%!
      You have the following bills:
        ', 'line_item' : '
        Bill #%id%
        Date:%xact_start%
        Type:%xact_type%
        Last Billing:%last_billing_type%
        %last_billing_note%
        Total Billed:$%total_owed%
        Last Payment:%last_payment_type%
        %last_payment_note%
        Total Paid:$%total_paid%
        Balance:$%balance_owed%

        ', 'footer' : '

      %PINES_CODE% %TODAY_TRIM%
      \r\n
      \r\n', }, @@ -209,9 +209,9 @@ OpenILS.data.prototype = { }, 'holds' : { 'type' : 'holds', - 'header' : 'Welcome %PATRON_FIRSTNAME%, to %LIBRARY%!
      \r\nYou have the following titles on hold:
        ', + 'header' : 'Welcome to %LIBRARY%!
        \r\nYou have the following titles on hold:
          ', 'line_item' : '
        1. %title%\r\n', - 'footer' : '

        %PINES_CODE% %TODAY_TRIM%
        \r\nYou were helped by %STAFF_FIRSTNAME% %STAFF_LASTNAME%
        \r\n
        \r\n', + 'footer' : '

      %PINES_CODE% %TODAY_TRIM%
      \r\nYou were helped by %STAFF_FIRSTNAME%
      \r\n
      \r\n', } }; -- 2.43.2