Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Current code does not display anything:
  2.  
  3. <div class="col-md-2 strong-text">[% l('Billing Location') %]</div>
  4. <div class="col-md-2">{{xact.billing_location().shortname()}}</div>
  5.  
  6. xact is the billable transaction (mbts in the fieldmapper), and I can get to the billing location ID # for both grocery and circ transactions with this:
  7. {{xact.grocery().billing_location()||xact.circulation().circ_lib()}}
  8.  
  9. But if I add shortname I get nothing:
  10. {{xact.grocery().billing_location().shortname()||xact.circulation().circ_lib().shortname()}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement