From 8f14e53142af5dd19ccb535633642c871d33c059 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 10 May 2011 17:54:59 -0400 Subject: [PATCH] start on cc payments --- Open-ILS/web/css/skin/default/opac/semiauto.css | 2 +- Open-ILS/web/css/skin/default/opac/style.css | 2 +- .../web/templates/default/opac/myopac/main.tt2 | 172 ++------------------ .../web/templates/default/opac/myopac/main_pay.tt2 | 158 ++++++++++++++++++ .../default/opac/parts/myopac/main_base.tt2 | 7 +- 5 files changed, 174 insertions(+), 167 deletions(-) create mode 100644 Open-ILS/web/templates/default/opac/myopac/main_pay.tt2 diff --git a/Open-ILS/web/css/skin/default/opac/semiauto.css b/Open-ILS/web/css/skin/default/opac/semiauto.css index 81d8632..e4e9eb7 100644 --- a/Open-ILS/web/css/skin/default/opac/semiauto.css +++ b/Open-ILS/web/css/skin/default/opac/semiauto.css @@ -131,7 +131,7 @@ .opac-auto-145 { position: relative; top: -3px; left: 3px; } .opac-auto-146 { position: relative; top: -3px; left: -5px; } .opac-auto-147 { position: relative; top: -5px; } -#learn_more { position: relative; top: 5px; } +.pos-rel-top-5 { position: relative; top: 5px; } .opac-auto-149 { position: relative; top: 5px; left: 25px; } #util_print_btn { position: relative; top: 5px; left: 30px; } .opac-auto-151 { position: relative; top: 75px; } diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index edae0eb..c0a9004 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -987,7 +987,7 @@ a.dash-link:hover { text-decoration: underline !important; } .hold-editor-controls { text-align: center; padding-top: 1em !important; } .hold-editor-controls a { padding-left: 2em; } -#rdetail_cn_browse_div { text-align: center; } +.text-right { text-align: right; } .rdetail-author-div { padding-bottom: 10px; } .invisible { visibility: hidden; } diff --git a/Open-ILS/web/templates/default/opac/myopac/main.tt2 b/Open-ILS/web/templates/default/opac/myopac/main.tt2 index 1c707c8..b187f0d 100644 --- a/Open-ILS/web/templates/default/opac/myopac/main.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/main.tt2 @@ -4,7 +4,7 @@ myopac_page = "main"; myopac_main_page = "main"; %] - +
[% IF ctx.fines.circulation.size > 0 %]
@@ -21,13 +21,11 @@ - - --> @@ -78,11 +76,9 @@ [% money(f.xact.balance_owed) %] - [% END %] @@ -111,7 +107,6 @@ - @@ -146,166 +140,22 @@ - [% END %]
[% l("Due Date") %] [% l("Date Returned") %] [% l("Balance Owed") %]
[% l("Total Amount Paid") %] [% l("Balance Owed") %] [% l("Billing Type") %]
[% f.xact.last_billing_type %]
[% END %] - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [% INCLUDE "default/opac/myopac/main_refund_policy.tt2" %] - -
Billing Information - Selected fines you are paying for: - - - - - - - - - -
- Name - - Amount -
-
-
- Total amount to pay: - $ -
-
- Click Cancel to go back and (un)select - other fines. -
First Name
Last Name
Street Address
City
State or Province
ZIP or Postal Code
Credit Card Information
Credit Card #
-
-
- -
-
- Security Code -
- -
Exipration Month - -
Expiration Year - -
Edit Billing Address - -
- - -
-
+
+ +
+
[% END %] diff --git a/Open-ILS/web/templates/default/opac/myopac/main_pay.tt2 b/Open-ILS/web/templates/default/opac/myopac/main_pay.tt2 new file mode 100644 index 0000000..ff9b512 --- /dev/null +++ b/Open-ILS/web/templates/default/opac/myopac/main_pay.tt2 @@ -0,0 +1,158 @@ +[% PROCESS "default/opac/parts/header.tt2"; + PROCESS "default/opac/parts/misc_util.tt2"; + WRAPPER "default/opac/parts/myopac/main_base.tt2"; + myopac_page = "main"; + myopac_main_page = "pay"; + + # XXX When we get no parameters, we're in "pay everything" mode. + # When we get paramters, they refer to the fines that we'll be paying +%] +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% INCLUDE "default/opac/myopac/main_refund_policy.tt2" %] + +
Billing Information + Selected fines you are paying for: + + + + + + + + + +
+ Name + + Amount +
+
+
+ Total amount to pay: + $ +
+
+ Click Cancel to go back and (un)select + other fines. +
First Name
Last Name
Street Address
City
State or Province
ZIP or Postal Code
Credit Card Information
Credit Card #
+
+
+ +
+
+ Security Code +
+ +
Exipration Month + +
Expiration Year + +
Edit Billing Address + +
+ + +
+
+[% END %] diff --git a/Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2 b/Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2 index 0676ee9..da0a088 100644 --- a/Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2 @@ -36,13 +36,12 @@ [% money(ctx.user_stats.fines.balance_owed) %]
- [%# TODO %] - [% l('Pay Fines') %] + class="pos-rel-top-5" />
-- 1.7.2.5