Skip to content

Update Template_Mixin.pm #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: FREESIDE_3_BRANCH
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions FS/FS/Template_Mixin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,9 @@ sub print_generic {
if ( $section_with_taxes && ref $line_item->{pkg_tax} ) {
for my $line_tax ( @{$ line_item->{pkg_tax} } ) {

# Verify $line_tax is a HASH
next unless ref $line_tax eq 'HASH';

# It is rarely possible for the same tax record to be presented here
# multiple times. See cust_bill_pkg::_pkg_tax_list for more info
next if $seen_tax_lines{ $line_tax->{billpkgtaxlocationnum} };
Expand Down