Does the Fines column on the My Summary page in the OPAC ever show anything other than 'No'? Does it show the fine amount? Or is it broken at this time? Nicole
Does the Fines column on the My Summary page in the OPAC ever show anything other than 'No'? Does it show the fine amount? Or is it broken at this time?
The script looks at lines in accountlines which have an item number: if ( $ac->{'itemnumber'} == $issue->{'itemnumber'} ) { $charges += $ac->{'amountoutstanding'} if $ac->{'accounttype'} eq 'F'; $charges += $ac->{'amountoutstanding'} if $ac->{'accounttype'} eq 'L'; } ...and only increments the amount if the "type" is "F" or "L," though I'm not sure what those mean. If you create a manual invoice and include the barcode number that creates an entry with an itemnumber in accountlines, enabling the script to pick it up for display. The template only shows yes or no: [% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] It should probably say this instead: [% IF ( ISSUE.charges ) %][% ISSUE.charges %][% ELSE %]No[% END %] ...although that gives unformatted output of the number. Do we have a T:T currency filter yet? Does anyone know other situations in which accountlines would have an entry tied to an itemnumber? Should the scope of what kind of charges are display here be expanded to include rental charges? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
On Mon, Mar 26, 2012 at 9:21 AM, Owen Leonard <oleonard@myacpl.org> wrote:
Does anyone know other situations in which accountlines would have an entry tied to an itemnumber? Should the scope of what kind of charges are display here be expanded to include rental charges?
You can enter a barcode on any manual invoice so I think that there are many other instances where you could have a charge tied to an item number ... I'm going to do some manual invoice testing because I've never seen anything but 'No' there. Nicole
participants (2)
-
Nicole Engard -
Owen Leonard