X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fdb%2Fcompany_db.inc;h=6baa143da9eaae9090bf051f8fa9940752415393;hb=07a0b37ca7360c5dbb058f5a0ba4c5752671dda7;hp=1bb58326d8bacbdefedb7afb4ff14af08bc25b2d;hpb=f20f229779b9db77c3f978fac90dfcb571bd551c;p=fa-stable.git diff --git a/admin/db/company_db.inc b/admin/db/company_db.inc index 1bb58326..6baa143d 100644 --- a/admin/db/company_db.inc +++ b/admin/db/company_db.inc @@ -66,7 +66,7 @@ function update_company_gl_setup($retained_act, $profit_loss_act, $debtors_act, function update_company_setup($coy_name, $coy_no, $gst_no, $tax_prd, $tax_last, $postal_address, $phone, $fax, $email, $coy_logo, $domicile, $Dimension, $curr_default, $f_year, $no_item_list, $no_customer_list, $no_supplier_list, - $base_sales, $time_zone) + $base_sales, $time_zone, $add_pct, $round_to, $login_tout) { if ($f_year == null) $f_year = 0; @@ -87,7 +87,10 @@ function update_company_setup($coy_name, $coy_no, $gst_no, $tax_prd, $tax_last, curr_default=".db_escape($curr_default).", f_year=$f_year, base_sales=$base_sales, - time_zone=$time_zone + time_zone=$time_zone, + add_pct=$add_pct, + round_to=$round_to, + login_tout = ".db_escape($login_tout)." WHERE coy_code=1"; db_query($sql, "The company setup could not be updated ");