diff --git a/app/Models/Credit.php b/app/Models/Credit.php index 5ef477ff4fe7..e30520c04c64 100644 --- a/app/Models/Credit.php +++ b/app/Models/Credit.php @@ -52,7 +52,6 @@ class Credit extends BaseModel 'terms', 'public_notes', 'private_notes', - 'invoice_type_id', 'tax_name1', 'tax_rate1', 'tax_name2', diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index fda940922f46..6886629fc7ae 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -63,7 +63,6 @@ class Invoice extends BaseModel 'terms', 'public_notes', 'private_notes', - 'invoice_type_id', 'tax_name1', 'tax_rate1', 'tax_name2', diff --git a/app/Models/Quote.php b/app/Models/Quote.php index c1936530632a..8421a3e02c74 100644 --- a/app/Models/Quote.php +++ b/app/Models/Quote.php @@ -52,7 +52,6 @@ class Quote extends BaseModel 'public_notes', 'private_notes', 'project_id', - 'invoice_type_id', 'tax_name1', 'tax_rate1', 'tax_name2', diff --git a/app/Transformers/Contact/InvoiceTransformer.php b/app/Transformers/Contact/InvoiceTransformer.php index 29a69f9419da..f850d165faa7 100644 --- a/app/Transformers/Contact/InvoiceTransformer.php +++ b/app/Transformers/Contact/InvoiceTransformer.php @@ -43,7 +43,6 @@ class InvoiceTransformer extends EntityTransformer 'terms' => $invoice->terms ?: '', 'public_notes' => $invoice->public_notes ?: '', 'is_deleted' => (bool) $invoice->is_deleted, - 'invoice_type_id' => (int) $invoice->invoice_type_id, 'tax_name1' => $invoice->tax_name1 ? $invoice->tax_name1 : '', 'tax_rate1' => (float) $invoice->tax_rate1, 'tax_name2' => $invoice->tax_name2 ? $invoice->tax_name2 : '',