Bug 31125 - Fix warnings from register.tt
Summary: Fix warnings from register.tt
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: 20.11
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 25790
  Show dependency treegraph
 
Reported: 2022-07-08 16:06 UTC by Katrin Fischer
Modified: 2022-07-11 14:26 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2022-07-08 16:06:13 UTC
When running the QA tools on register.tt (tt?) there are some warnings we should fix:

Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 86.
Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 86.
Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 87.
Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 87.
Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 88.
Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 158.
Argument "" isn't numeric in multiplication (*) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt line 288.
Comment 1 Martin Renvoize 2022-07-11 14:26:13 UTC
Hmm.. I have no idea how to fix this.. there's already handling in the relevant Object methods to return numeric 0 if there's no lines to total up.