Question: Invoice Pdf Adds A Total Of Amounts

Invoice Pdf Adds A Total Of Amounts

I need the invoice to also add a total of all columns of the amounts added. Since it only makes a total quantity per product with theSince it only makes a total quantity per product with the

LD

Llister Duran

Asked
I need the invoice to also add a total of all columns of the amounts added. Since it only makes a total quantity per product with theSince it only makes a total quantity per product with the unit_quantity.

Attached image.
The invoice in pdf is somewhat modified, before the quantity and the units came out in the same column.
In this case, the invoice has the amounts first. Now what I want is for all those amounts to add up and give me a total.
I imagine it is a matter of a few minutes.

This is the line in php ```<?= $This->sma->formatQuantity ($row-> unit_quantity); ?>``` Now I just want you to add up all the quantities of all the products added in the invoice and give me a total.

I only need the line that makes me the sum of the entire column and I take care of accommodating it.
Some programmer.? I think it would be less than an hour of work paid that fee.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can modify the view file as you need. If you are not sure, you can hire any developer to help you modify it as you need.

    You need to define the variable to with zero and add the unit quantity to it with foreach loop. Lastly display where you want.

    Thank you
  • LD

    Llister Duran

    Answered
    But you are the developer thought you also customize the script. I don't understand what you're saying in your comment.
  • MS

    Mian Saleem

    Answered
    Hello,

    You need to hire any developer to help you modify the item as you need.

    Thank you
  • Login to Reply