X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Falter2.4.php;h=bd364e2e20c604c6ffa4738d971fe60ebf8ec13c;hb=51f9e62242aa3697a2d9350d6d1040d5c647c7a5;hp=e6e8b619d8024b8c26b8949d356d149d5abbfdd8;hpb=fec985b17c2827ba56512e6eb93f1139bcb73e3a;p=fa-stable.git diff --git a/sql/alter2.4.php b/sql/alter2.4.php index e6e8b619..bd364e2e 100644 --- a/sql/alter2.4.php +++ b/sql/alter2.4.php @@ -74,6 +74,9 @@ class fa2_4 extends fa_patch { if (get_company_pref('company_logo_report') === null) { // available from 2.4.2, during updates set_company_pref('company_logo_report', 'setup.company', 'tinyint', 1, '0'); } + if (get_company_pref('print_dialog_direct') === null) { // available from 2.4.5, during updates + set_company_pref('print_dialog_direct', 'setup.company', 'tinyint', 1, '0'); + } if (get_company_pref('barcodes_on_stock') === null) { // available from 2.4.3, during updates set_company_pref('barcodes_on_stock', 'setup.company', 'tinyint', 1, '0'); } @@ -121,7 +124,7 @@ class fa2_4 extends fa_patch { 'default_quote_valid_days', 'no_zero_lines_amount', 'show_po_item_codes', 'accounts_alpha', 'loc_notification', 'print_invoice_no', 'allow_negative_prices', 'print_item_images_on_quote', 'bcc_email', 'alternative_tax_include_on_docs', 'suppress_tax_rates', 'company_logo_report', - 'barcodes_on_stock', 'ref_no_auto_increase')"); + 'barcodes_on_stock', print_dialog_direct', 'ref_no_auto_increase')"); } function update_workorders()