Revision 3f21f766
Von Jan Büren vor mehr als 7 Jahren hinzugefügt
SL/DB/MetaSetup/RecordTemplate.pm | ||
---|---|---|
25 | 25 |
ordnumber => { type => 'text' }, |
26 | 26 |
project_id => { type => 'integer' }, |
27 | 27 |
reference => { type => 'text' }, |
28 |
show_details => { type => 'boolean', default => 'false', not_null => 1 }, |
|
28 | 29 |
taxincluded => { type => 'boolean', default => 'false', not_null => 1 }, |
29 | 30 |
template_name => { type => 'text', not_null => 1 }, |
30 | 31 |
template_type => { type => 'enum', check_in => [ 'ar_transaction', 'ap_transaction', 'gl_transaction' ], db_type => 'record_template_type', not_null => 1 }, |
bin/mozilla/gl.pl | ||
---|---|---|
109 | 109 |
$::form->{duedate} = $today->to_kivitendo; |
110 | 110 |
$::form->{rowcount} = @{ $template->items }; |
111 | 111 |
$::form->{paidaccounts} = 1; |
112 |
$::form->{$_} = $template->$_ for qw(department_id taxincluded ob_transaction cb_transaction reference description); |
|
112 |
$::form->{$_} = $template->$_ for qw(department_id taxincluded ob_transaction cb_transaction reference description show_details);
|
|
113 | 113 |
$::form->{$_} = $dummy_form->{$_} for qw(closedto revtrans previous_id previous_gldate); |
114 | 114 |
|
115 | 115 |
my $row = 0; |
... | ... | |
183 | 183 |
cb_transaction => $::form->{cb_transaction} ? 1 : 0, |
184 | 184 |
reference => $::form->{reference}, |
185 | 185 |
description => $::form->{description}, |
186 |
show_details => $::form->{show_details}, |
|
186 | 187 |
|
187 | 188 |
items => \@items, |
188 | 189 |
); |
sql/Pg-upgrade2/alter_record_template_tables.sql | ||
---|---|---|
1 |
-- @tag: alter_record_template_tables |
|
2 |
-- @description: Haken Details anzeigen in Dialog-Vorlage ergänzen |
|
3 |
-- @depends: release_3_5_0 create_record_template_tables |
|
4 |
|
|
5 |
ALTER TABLE record_templates ADD column show_details BOOLEAN NOT NULL DEFAULT FALSE; |
|
6 |
|
Auch abrufbar als: Unified diff
Dialogbuchungsvorlagen um 'Details anzeigen' erweitert
Hintergrund:
Beleg und Memo werden auch bei den Vorlagen zeilenweise mitgespeichert,
wenn diese aber nicht visuell beim Laden der Vorlage zu Verfügung stehen,
vergißt der Anwender die Werte zu ändern. -> Details anzeigen mitübergeben