| {{ __( 'Sub Total' ) }} | {{ nsCurrency( summary.subtotal ) }} |
| {{ __( 'Sales Discounts' ) }} | {{ nsCurrency( summary.sales_discounts ) }} |
| {{ __( 'Sales Taxes' ) }} | {{ nsCurrency( summary.sales_taxes ) }} |
| {{ __( 'Product Taxes' ) }} | {{ nsCurrency( summary.product_taxes ) }} |
| {{ __( 'Shipping' ) }} | {{ nsCurrency( summary.shipping ) }} |
| {{ __( 'Total' ) }} | {{ nsCurrency( summary.total ) }} |
| {{ __( 'Cost Of Goods' ) }} | {{ nsCurrency( summary.total_purchase_price ) }} |
| {{ __( 'Profit' ) }} | {{ nsCurrency( summary.profit ) }} |
| {{ __( 'Products' ) }} | {{ __( 'Quantity' ) }} | {{ __( 'Discounts' ) }} | {{ __( 'Cost' ) }} | {{ __( 'Taxes' ) }} | {{ __( 'Total' ) }} | {{ __( 'Profit' ) }} |
|---|---|---|---|---|---|---|
| {{ product.name }} | {{ product.quantity }} | {{ nsCurrency( product.discount ) }} | {{ nsCurrency( product.total_purchase_price ) }} | {{ nsCurrency( product.tax_value ) }} | {{ nsCurrency( product.total_price ) }} | {{ nsCurrency( Math.chain( product.total_price ).subtract( Math.chain( product.total_purchase_price ).add( product.tax_value ).done() ).done() ) }} |
| {{ computeTotal( result, 'quantity' ) }} | {{ nsCurrency( computeTotal( result, 'discount' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_purchase_price' ) ) }} | {{ nsCurrency( computeTotal( result, 'tax_value' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_price' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_price' ) - computeTotal( result, 'total_purchase_price' ) - computeTotal( result, 'tax_value' ) ) }} |
| {{ __( 'Category' ) }} | {{ __( 'Product' ) }} | {{ __( 'Quantity' ) }} | {{ __( 'Discounts' ) }} | {{ __( 'Taxes' ) }} | {{ __( 'Total' ) }} | {{ __( 'Purchase Price' ) }} | {{ __( 'Profit' ) }} |
|---|---|---|---|---|---|---|---|
| {{ category.name }} | {{ product.name }} | {{ product.quantity }} | {{ nsCurrency( product.discount ) }} | {{ nsCurrency( product.tax_value ) }} | {{ nsCurrency( product.total_price ) }} | {{ nsCurrency( product.total_purchase_price ) }} | {{ nsCurrency( product.total_price - ( product.total_purchase_price + product.tax_value + product.discount ) ) }} |
| {{ category.name }} | {{ computeTotal( category.products, 'quantity' ) }} | {{ nsCurrency( computeTotal( category.products, 'discount' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'tax_value' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'total_price' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'total_purchase_price' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'total_price' ) - ( computeTotal( category.products, 'total_purchase_price' ) + computeTotal( category.products, 'tax_value' ) + computeTotal( category.products, 'discount' ) ) ) }} | |
| {{ computeTotal( result, 'total_sold_items' ) }} | {{ nsCurrency( computeTotal( result, 'total_discount' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_tax_value' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_price' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_purchase_price' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_price' ) - ( computeTotal( result, 'total_purchase_price' ) + computeTotal( result, 'total_discount' ) + computeTotal( result, 'total_tax_value' ) ) ) }} | ||
| {{ __( 'Category' ) }} | {{ __( 'Quantity' ) }} | {{ __( 'Discounts' ) }} | {{ __( 'Cost' ) }} | {{ __( 'Taxes' ) }} | {{ __( 'Total' ) }} |
|---|---|---|---|---|---|
| {{ category.name }} | {{ computeTotal( category.products, 'quantity' ) }} | {{ nsCurrency( computeTotal( category.products, 'discount' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'total_purchase_price' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'tax_value' ) ) }} | {{ nsCurrency( computeTotal( category.products, 'total_price' ) ) }} |
| {{ computeTotal( result, 'total_sold_items' ) }} | {{ nsCurrency( computeTotal( result, 'total_discount' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_purchase_price' ) ) }} | {{ nsCurrency( computeTotal( result, 'total_price' ) ) }} |