From 3366db305a71dc1f1161977c081af199c7364c11 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 16 Aug 2023 09:45:08 +1000 Subject: [PATCH] Disable quantity in previews for mobile --- app/Http/Livewire/PdfSlot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/PdfSlot.php b/app/Http/Livewire/PdfSlot.php index 8c8770eb1205..43cc14c1a1d6 100644 --- a/app/Http/Livewire/PdfSlot.php +++ b/app/Http/Livewire/PdfSlot.php @@ -106,6 +106,7 @@ class PdfSlot extends Component $this->show_cost = in_array('$product.unit_cost', $this->settings->pdf_variables->product_columns); $this->show_line_total = in_array('$product.line_total', $this->settings->pdf_variables->product_columns); + $this->show_quantity = in_array('$product.quantity', $this->settings->pdf_variables->product_columns); if($this->entity_type == 'quote' && !$this->settings->sync_invoice_quote_columns ){ $this->show_cost = in_array('$product.unit_cost', $this->settings->pdf_variables->product_quote_columns);