Looking to determine the Item Total Price and Total Price in a medicine store invoice system. How can I retrieve the ItemTotal and SubTotal values? I have added Medicine items as lines, but unsure how to calculate the Total Price for all Items.
medicinepurchase.component.ts
export class MedicinePurchaseComponent implements OnInit {
trial: any;
...
}
medicinepuechase.component.html
<form>
...
</form>
Trying to figure out the calculations for Item Total Price and Total Price within a Medicine store invoice system. Need help retrieving the ItemTotal and SubTotal values. Added Medicine items as lines but uncertain about calculating the Total Price for all Items.