[Enhance] Provision to show inclusive tax in print (#12345)

* [Enhance] Provision to show inclusive tax in print

* POS Print format
This commit is contained in:
rohitwaghchaure
2018-01-08 15:20:15 +05:30
committed by Nabin Hait
parent 44fa9a6d9d
commit bf4c114c58
8 changed files with 133 additions and 6 deletions

View File

@@ -16,7 +16,10 @@ class SellingController(StockController):
if hasattr(self, "taxes"):
self.flags.print_taxes_with_zero_amount = cint(frappe.db.get_single_value("Print Settings",
"print_taxes_with_zero_amount"))
self.flags.show_inclusive_tax_in_print = self.is_inclusive_tax()
self.print_templates = {
"total": "templates/print_formats/includes/total.html",
"taxes": "templates/print_formats/includes/taxes.html"
}