Web Staff Client: Missing title and barcode on bill print templates

Bug #1708487 reported by Terran McCanna
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
2.12
Fix Released
Low
Unassigned

Bug Description

The Bills, Current and Bills, Payment print templates do not appear to have access to titles and barcodes. These were available in the xul client with %title% and %barcode% (they just printed as blank when the items were grocery items without titles / barcodes).

The xul version of Bills, Current was also able to display the total amount still owed by using %grand_total_owed% which does not appear to be available in webby either.

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

Additional info: xact.title works in the preview, but not in the actual printout.

Revision history for this message
Andrea Neiman (aneiman) wrote :

3.0 beta

For "Bills, Payment" I am able to get titles & barcodes via payment.xact.title and payment.xact.copy_barcode, both of which are included in the default template. I was able to successfully print a payment receipt with correct information in both fields.

For "Bills, Current" (and "Bills, Historical"), I see the behavior described by Terran where using xact.copy_barcode and xact.title display values in the print template preview, but print blank on the actual printout. So I'm confirming that part as still missing, and marking this Confirmed on that basis.

I did not test or look for grand_total_owed or its equivalent.

Changed in evergreen:
status: New → Confirmed
milestone: none → 3.0-beta2
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Kathy Lussier (klussier) wrote :

For all of these print template bugs, if there is a way to include a certain piece of data, I think we should include that information in the commented text at the top of the template. There is going to be a steep learning curve for these templates after staff have gotten used to clicking a Macro button to find out how to retrieve the right piece of data. Providing as much assistance as possible will make the transition easier.

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

+1

I've been documenting it in our local manual as I go along and I know Remington was working on putting it in the correct format to submit to the official documentation as well:

https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts

https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipt-content

Revision history for this message
Remington Steed (rjs7) wrote :

Terran, your receipt-content wiki page looks very helpful! Let's get that into the main docs, and perhaps add a direct link from the various staff client interfaces (or in template comments, like Kathy mentioned, if others prefer that).

Changed in evergreen:
milestone: 3.0-beta2 → 3.0-rc
Galen Charlton (gmc)
Changed in evergreen:
milestone: 3.0-rc → 3.0.1
Changed in evergreen:
milestone: 3.0.1 → 3.0.2
Kyle Huckins (khuckins)
Changed in evergreen:
assignee: nobody → Kyle Huckins (khuckins)
Revision history for this message
Kyle Huckins (khuckins) wrote :

I've pushed a branch up here: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/khuckins/lp1708487-title-barcode-bill-print-templates

This will allow print templates for Bills, Current and Bills, Historical to have access to the copy's title and barcode, as well as adding in-template documentation for adding the title and barcode in each of the affected templates.

tags: added: pullrequest
Changed in evergreen:
assignee: Kyle Huckins (khuckins) → nobody
Revision history for this message
Kathy Lussier (klussier) wrote :

Thank you Kyle! I added a commit to change the helper text to include the xact portion of the variable name since it might not be clear to the user.

I merged the branch to master, release 3.0 and release 2.12.

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.