allow_new_purchase_invoice => { type => 'boolean', default => 'true', not_null => 1 },
allow_sales_invoice_from_sales_order => { type => 'boolean', default => 'true', not_null => 1 },
allow_sales_invoice_from_sales_quotation => { type => 'boolean', default => 'true', not_null => 1 },
+ ap_add_doc => { type => 'boolean', default => 'true', not_null => 1 },
ap_changeable => { type => 'integer', default => 2, not_null => 1 },
ap_chart_id => { type => 'integer' },
ap_show_mark_as_paid => { type => 'boolean', default => 'true' },
+ ar_add_doc => { type => 'boolean', default => 'true', not_null => 1 },
ar_changeable => { type => 'integer', default => 2, not_null => 1 },
ar_chart_id => { type => 'integer' },
ar_paid_accno_id => { type => 'integer' },
feature_ustva => { type => 'boolean', default => 'true', not_null => 1 },
fxgain_accno_id => { type => 'integer' },
fxloss_accno_id => { type => 'integer' },
+ gl_add_doc => { type => 'boolean', default => 'true', not_null => 1 },
gl_changeable => { type => 'integer', default => 2, not_null => 1 },
global_bcc => { type => 'text', default => '' },
id => { type => 'serial', not_null => 1 },
inventory_system => { type => 'text' },
invnumber => { type => 'text' },
invoice_mail_settings => { type => 'enum', check_in => [ 'cp', 'invoice_mail', 'invoice_mail_cc_cp' ], db_type => 'invoice_mail_settings', default => 'cp' },
+ ir_add_doc => { type => 'boolean', default => 'true', not_null => 1 },
ir_changeable => { type => 'integer', default => 2, not_null => 1 },
ir_show_mark_as_paid => { type => 'boolean', default => 'true' },
is_changeable => { type => 'integer', default => 2, not_null => 1 },
<td>[% L.select_tag('defaults.gl_changeable', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.gl_changeable) %]</td>
<td>[% LxERP.t8('Should gl transactions be and when should they be changeable or deleteable after posting?') %]</td>
</tr>
-
<tr> </tr>
<tr> </tr>
-
<tr>
<td align="right">[% LxERP.t8('Payments Changeable') %]</td>
<td>[% L.select_tag('defaults.payments_changeable', SELF.payment_options, value_key = 'value', title_key = 'title', default = SELF.defaults.payments_changeable) %]</td>
<tr> </tr>
<tr> </tr>
+ <tr>
+ <td align="right">[% LxERP.t8(' Add document for Purchase invoices') %]</td>
+ <td>[% L.yes_no_tag('defaults.ir_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.ir_add_doc) %]</td>
+ <td>[% LxERP.t8('Show document tab after posting?') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8(' Add document for AR transactions') %]</td>
+ <td>[% L.yes_no_tag('defaults.ar_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.ar_add_doc) %]</td>
+ <td>[% LxERP.t8('Show document tab after posting?') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8(' Add document for AP transactions') %]</td>
+ <td>[% L.yes_no_tag('defaults.ap_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.ap_add_doc) %]</td>
+ <td>[% LxERP.t8('Show document tab after posting?') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8(' Add document for GL transactions') %]</td>
+ <td>[% L.yes_no_tag('defaults.gl_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.gl_add_doc) %]</td>
+ <td>[% LxERP.t8('Show document tab after posting?') %]</td>
+ </tr>
+
+ <tr> </tr>
+ <tr> </tr>
+
<tr>
<td align="right">[% LxERP.t8('Show "mark as paid" in sales invoices') %]</td>
<td>[% L.yes_no_tag('defaults.is_show_mark_as_paid', SELF.defaults.is_show_mark_as_paid) %]</td>