Help for this page

Select Code to Download


  1. or download this
    while (my $hr = $S->fetchrow_hashref) {
       my $cur_total = $hr->{Quantity} * $hr->{Unit_Price};
    ...
       $cur_tax = $cur_total * $hr->{Tax_Rate} if $hr->{Taxable} eq 'Y';
       ...
    }