+if (!isset($myrow["print_dialog_direct"]))
+{
+ set_company_pref("print_dialog_direct", "setup.company", "tinyint", 1, '0');
+ $myrow["print_dialog_direct"] = get_company_pref("print_dialog_direct");
+}
+$_POST['print_dialog_direct'] = $myrow["print_dialog_direct"];
+if (!isset($myrow["dim_on_recurrent_invoice"]))
+{
+ set_company_pref("dim_on_recurrent_invoice", "setup.company", "tinyint", 1, '0');
+ $myrow["dim_on_recurrent_invoice"] = get_company_pref("dim_on_recurrent_invoice");
+}
+$_POST['dim_on_recurrent_invoice'] = $myrow["dim_on_recurrent_invoice"];
+if (!isset($myrow["long_description_invoice"]))
+{
+ set_company_pref("long_description_invoice", "setup.company", "tinyint", 1, '0');
+ $myrow["long_description_invoice"] = get_company_pref("long_description_invoice");
+}
+$_POST['long_description_invoice'] = $myrow["long_description_invoice"];