Web Client: Bill Receipt on Payment ignores # Copies

Bug #1742521 reported by Terran McCanna
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Status tracked in Master

Bug Description

In 3.0.2:

When paying a bill on a patron account, if you check "Receipt On Payment" and change the # Copies to 2 or more, then apply a bill payment, it will still only print one copy.

Revision history for this message
Terran McCanna (tmccanna) wrote :

Still only prints 1 copy in 3.1.

Revision history for this message
John Amundson (jamundson) wrote :

Confirmed in 3.0.8

Tested with Hatch installed for printing.

Changed in evergreen:
status: New → Confirmed
Changed in evergreen:
importance: Undecided → Medium
Revision history for this message
Jason Boyer (jboyer) wrote :

Hello scripting, my old friend
I've come to talk with you again
Because a condition softly creeping
Took a value while I was sleeping
And the value that was copied from my scope
Still remains
The same as the scope that came before.

So this is an example of bug 1696238; the controller for that view never sees that the receipt_count variable changes because it's initial value (1) is copied into a new scope created by the ng-if that determines whether to display the receipt controls. Changing it to an ng-show instead fixes it. Branch is on its way.

Revision history for this message
Jason Boyer (jboyer) wrote :

Go forth and print multiple receipts:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jboyer/lp1742521_receipt_count working/user/jboyer/lp1742521_receipt_count

tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.2.3
Changed in evergreen:
assignee: nobody → Mike Rylander (mrylander)
Revision history for this message
Mike Rylander (mrylander) wrote :

Like a charm. Thanks, Jason!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers