Bugzilla – Attachment 21498 Details for
Bug 10240
Offline circulation using HTML5 and IndexedDB
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10240 follow-up: fix display
Bug-10240-follow-up-fix-display.patch (text/plain), 2.22 KB, created by
Jared Camins-Esakov
on 2013-09-26 18:02:46 UTC
(
hide
)
Description:
Bug 10240 follow-up: fix display
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2013-09-26 18:02:46 UTC
Size:
2.22 KB
patch
obsolete
>From 1948ada78a0fa0377ad7451452e8e4d47e96cfd9 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Mon, 2 Sep 2013 21:26:14 -0400 >Subject: [PATCH] Bug 10240 follow-up: fix display > >Fix the following two issues: >1) After paying a fine when offline the fine amount becomes NaN. >2) For previous checkouts for a pratron the title and barcode > fields have the wrong infomation in them (i.e. they have been swapped) >--- > .../intranet-tmpl/prog/en/modules/circ/offline.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >index 608db2a..18dd737 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >@@ -257,7 +257,7 @@ function loadPatron(barcode) { > $('#oldissuest tbody').empty(); > issuesidx.each(function (item) { > $('#oldissues').show(); >- $('#oldissuest tbody').append("<tr><td>" + item.value.date_due + "</td><td>" + item.value.barcode + "</td><td>" + item.value.title + "</td><td>" + item.value.itype + "</td><td>" + item.value.issuedate + "</td><td>" + item.value.issuebranch + "</td><td>" + item.value.callnumber + "</td><td>" + "" + "</td></tr>"); >+ $('#oldissuest tbody').append("<tr><td>" + item.value.date_due + "</td><td>" + item.value.title + "</td><td>" + item.value.barcode + "</td><td>" + item.value.itype + "</td><td>" + item.value.issuedate + "</td><td>" + item.value.issuebranch + "</td><td>" + item.value.callnumber + "</td><td>" + "" + "</td></tr>"); > $('.checkout-count').text(parseInt($('.checkout-count').text()) + 1); > }, barcode); > }); >@@ -311,7 +311,7 @@ function recordFine(amount) { > kohadb.recordTransaction(trans, function () { > $('#session-payments').show(); > $('#session-payments tbody').prepend('<tr><td>' + amount + '</td><td>' + $.datepicker.formatDate(dateformat, timestamp) + timestamp.toTimeString() + '</td></tr>'); >- $('.fine-amount').text(parseInt($('.fine-amount').text) - amount); >+ $('.fine-amount').text(parseInt($('.fine-amount').text()) - amount); > }); > } > >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10240
:
18406
|
18448
|
19005
|
19065
|
19204
|
19328
|
19346
|
19347
|
19353
|
19528
|
20554
|
20555
|
20556
|
20762
|
20995
|
21157
|
21158
|
21159
|
21160
|
21161
|
21495
|
21496
|
21497
|
21498
|
21499
|
21500
|
21552
|
21553
|
21554
|
21555
|
21556
|
21557
|
21558
|
21559
|
21560
|
21573
|
21574
|
21575
|
21576
|
21577
|
21578
|
21579
|
21718
|
21719
|
21720
|
21721
|
21722
|
21723
|
21724
|
21725
|
21726