mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Disable quantity in previews for mobile
This commit is contained in:
parent
71b1428994
commit
3366db305a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user