feat: Tax included (#370)
* feat: Tax included * Added a toggle switch in tax settings to enable the feature. * Database migration adding tax_included field into estimates, invoices and recurring invoices table. * Toggle switch to enable and store the tax_included by estimates, invoices and recurring invoices. * In case of tax included enabled, total taxes will be recalculated and the invoices, estimates and recurring invoices total won't be sum with taxes. * Apply tax included when discount_per_item/tax_per_item item is enabled. * Custom component to show the net total when tax included is enabled. * Update invoice and estimates pdfs with net total. * chore: Tax included by default A switch button inside the tax settings to enable the tax included by default in invoices, estimates and recurring invoices.
This commit is contained in:
@@ -306,6 +306,7 @@
|
||||
"total": "Total",
|
||||
"discount": "Discount",
|
||||
"sub_total": "Sub Total",
|
||||
"net_total": "Net",
|
||||
"estimate_number": "Estimate Number",
|
||||
"ref_number": "Ref Number",
|
||||
"contact": "Contact",
|
||||
@@ -1220,7 +1221,11 @@
|
||||
"updated_message": "Tax type updated successfully",
|
||||
"deleted_message": "Tax type deleted successfully",
|
||||
"confirm_delete": "You will not be able to recover this Tax Type",
|
||||
"already_in_use": "Tax is already in use"
|
||||
"already_in_use": "Tax is already in use",
|
||||
"tax_included": "Inclusive taxes",
|
||||
"tax_included_description": "Enable this if you want to report that taxes are already included in the invoice items or invoice total.",
|
||||
"tax_included_by_default": "Enable inclusive taxes by default",
|
||||
"tax_included_by_default_description": "Enable this if you want to set inclusive taxes by default"
|
||||
},
|
||||
"payment_modes": {
|
||||
"title": "Payment Modes",
|
||||
@@ -1616,6 +1621,7 @@
|
||||
"pdf_discount_label": "Discount",
|
||||
"pdf_amount_label": "Amount",
|
||||
"pdf_subtotal": "Subtotal",
|
||||
"pdf_net_total": "Net",
|
||||
"pdf_total": "Total",
|
||||
"pdf_payment_label": "Payment",
|
||||
"pdf_payment_receipt_label": "PAYMENT RECEIPT",
|
||||
|
||||
@@ -303,6 +303,7 @@
|
||||
"total": "Total",
|
||||
"discount": "Descuento",
|
||||
"sub_total": "Subtotal",
|
||||
"net_total": "Base Imponible",
|
||||
"estimate_number": "Número de Presupuesto",
|
||||
"ref_number": "Número de referencia",
|
||||
"contact": "Contacto",
|
||||
@@ -1212,7 +1213,11 @@
|
||||
"updated_message": "Tipo de impuesto actualizado correctamente",
|
||||
"deleted_message": "Tipo de impuesto eliminado correctamente",
|
||||
"confirm_delete": "No podrá recuperar este tipo de impuesto",
|
||||
"already_in_use": "El impuesto ya está en uso."
|
||||
"already_in_use": "El impuesto ya está en uso.",
|
||||
"tax_included": "Impuestos inclusivos",
|
||||
"tax_included_description": "Habilítelo si desea informar que los impuestos ya están incluidos en los artículos de la factura o en el total de la factura.",
|
||||
"tax_included_by_default": "Usar impuestos inclusivos por defecto",
|
||||
"tax_included_by_default_description": "Habilítelo si desea establecer los impuestos inclusivos por defecto."
|
||||
},
|
||||
"payment_modes": {
|
||||
"title": "Formas de pago",
|
||||
@@ -1608,6 +1613,7 @@
|
||||
"pdf_discount_label": "Descuento",
|
||||
"pdf_amount_label": "Cantidad",
|
||||
"pdf_subtotal": "Subtotal",
|
||||
"pdf_net_total": "Base Imponible",
|
||||
"pdf_total": "Total",
|
||||
"pdf_payment_label": "Pago",
|
||||
"pdf_payment_receipt_label": "RECIBO DE PAGO",
|
||||
|
||||
@@ -217,6 +217,7 @@
|
||||
"total": "Total",
|
||||
"discount": "Desconto",
|
||||
"sub_total": "Subtotal",
|
||||
"net_total": "Total Líquido",
|
||||
"estimate_number": "Numero do Orçamento",
|
||||
"ref_number": "Referência",
|
||||
"contact": "Contato",
|
||||
@@ -759,7 +760,11 @@
|
||||
"updated_message": "Tipo de Imposto Atualizado com sucesso",
|
||||
"deleted_message": "Tipo de Imposto Deletado com sucesso",
|
||||
"confirm_delete": "Você não poderá recuperar este tipo de Imposto",
|
||||
"already_in_use": "O Imposto já está em uso"
|
||||
"already_in_use": "O Imposto já está em uso",
|
||||
"tax_included": "Imposto incluído",
|
||||
"tax_included_description": "Habilite isso se desejar informar que os Impostos já estão incluídos nos itens da Fatura ou no total da Fatura.",
|
||||
"tax_included_by_default": "Usar imposto incluído por padrão",
|
||||
"tax_included_by_default_description": "Habilite isso se desejar definir os impostos incluídos por padrão."
|
||||
},
|
||||
"expense_category": {
|
||||
"title": "Categoria de Despesa",
|
||||
@@ -932,5 +937,6 @@
|
||||
"address_maxlength": "O endereço não deve ter mais que 255 caracteres.",
|
||||
"ref_number_maxlength": "O número de referência não deve ter mais que 255 caracteres.",
|
||||
"prefix_maxlength": "O prefixo não deve ter mais que 5 caracteres."
|
||||
}
|
||||
},
|
||||
"pdf_net_total": "Total Líquido"
|
||||
}
|
||||
|
||||
@@ -1212,7 +1212,9 @@
|
||||
"updated_message": "Tipo de Imposto Atualizado com sucesso",
|
||||
"deleted_message": "Tipo de Imposto Deletado com sucesso",
|
||||
"confirm_delete": "Você não poderá recuperar este tipo de Imposto",
|
||||
"already_in_use": "O Imposto já está em uso"
|
||||
"already_in_use": "O Imposto já está em uso",
|
||||
"tax_included": "Imposto incluído",
|
||||
"tax_included_description": "Habilite isso se desejar informar que os Impostos já estão incluídos nos itens da Fatura ou no total da Fatura."
|
||||
},
|
||||
"payment_modes": {
|
||||
"title": "Modos de Pagamento",
|
||||
|
||||
Reference in New Issue
Block a user