+ return $this->config_allocation_settled_allowance;
+ }
+
+ function no_zero_lines_amount()
+ {
+ return $this->prefs['no_zero_lines_amount'];
+ }
+
+ function show_po_item_codes()
+ {
+ return $this->prefs['show_po_item_codes'];
+ }
+
+ function accounts_alpha()
+ {
+ return $this->prefs['accounts_alpha'];
+ }
+
+ function loc_notification()
+ {
+ return $this->prefs['loc_notification'];
+ }
+
+ function print_invoice_no()
+ {
+ return $this->prefs['print_invoice_no'];
+ }
+
+ function allow_negative_prices()
+ {
+ return $this->prefs['allow_negative_prices'];
+ }
+
+ function print_item_images_on_quote()
+ {
+ return $this->prefs['print_item_images_on_quote'];
+ }
+
+ function alternative_tax_include_on_docs()
+ {
+ return $this->prefs['alternative_tax_include_on_docs'];
+ }
+
+ function suppress_tax_rates()
+ {
+ return $this->prefs['suppress_tax_rates'];
+ }
+
+ function backup_dir($comp=null)
+ {
+ if (!isset($comp))
+ $comp = user_company();
+
+ if (isset($this->backup_path))
+ return sprintf($this->backup_path, $comp);
+ else
+ return $this->comp_path.'/'.$comp."/backup/";