Revision ee23f6e0
Von Bernd Blessmann vor etwa 13 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
347 | 347 |
} |
348 | 348 |
|
349 | 349 |
my $ChartTypeIsAccount = ($form->{charttype} eq "A") ? "1":""; |
350 |
my $AccountIsPosted = ($form->{orphaned} ) ? "":"1"; |
|
350 | 351 |
|
351 | 352 |
$form->header(); |
352 | 353 |
|
353 | 354 |
my $parameters_ref = { |
354 | 355 |
ChartTypeIsAccount => $ChartTypeIsAccount, |
356 |
AccountIsPosted => $AccountIsPosted, |
|
355 | 357 |
select_category => $select_category, |
356 | 358 |
select_charttype => $select_charttype, |
357 | 359 |
select_bwa => $select_bwa, |
locale/de/all | ||
---|---|---|
369 | 369 |
'Cc' => 'Cc', |
370 | 370 |
'Change Lx-Office installation settings (all menu entries beneath \'System\')' => 'Verändern der Lx-Office-Installationseinstellungen (Menüpunkte unterhalb von \'System\')', |
371 | 371 |
'Change representative to' => 'Vertreter ändern in', |
372 |
'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' => 'Änderungen bei Forderungen oder Verbindlichkeiten sind nur möglich, wenn dieses Konto noch nicht bebucht wurde.', |
|
372 | 373 |
'Charge Number' => 'Chargennummer', |
373 | 374 |
'Charge number' => 'Chargennummer', |
374 | 375 |
'Charset' => 'Zeichensatz', |
locale/en/all | ||
---|---|---|
360 | 360 |
'Cc' => '', |
361 | 361 |
'Change Lx-Office installation settings (all menu entries beneath \'System\')' => '', |
362 | 362 |
'Change representative to' => '', |
363 |
'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' => '', |
|
363 | 364 |
'Charge Number' => '', |
364 | 365 |
'Charge number' => '', |
365 | 366 |
'Chart' => '', |
templates/webpages/am/edit_accounts.html | ||
---|---|---|
80 | 80 |
[% 'Inventory' | $T8 %] |
81 | 81 |
</fieldset> |
82 | 82 |
|
83 |
[% IF AccountIsPosted %] |
|
84 |
[%- SET DIS = ' disabled="disabled"' %] |
|
85 |
[% END %] |
|
83 | 86 |
<fieldset class="DEPENDS ON charttype BEING A"> |
84 | 87 |
<legend>[% 'Include in drop-down menus' | $T8 %]</legend> |
85 | 88 |
<p style='font-weight:normal'>[% 'These will only be effective if the account is NOT a summary account AND there exists at least one taxkey. Setting the account as a summary account will erase these settings.' | $T8 %]</p> |
89 |
<p style='font-weight:normal'>[% 'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $T8 %]</p> |
|
86 | 90 |
<table width="100%"> |
87 | 91 |
<tr> |
88 | 92 |
<th align="left">[% 'Receivables' | $T8 %]</th> |
... | ... | |
93 | 97 |
<tr> |
94 | 98 |
<td> |
95 | 99 |
<input name="AR_amount" type="checkbox" class="checkbox" value="AR_amount" |
96 |
[% HTML.escape(AR_amount) %]> |
|
100 |
[% HTML.escape(AR_amount)%][% DIS %]>
|
|
97 | 101 |
[% 'Revenue' | $T8 %] <br> |
98 | 102 |
<input name="AR_paid" type="checkbox" class="checkbox" value="AR_paid" |
99 |
[% HTML.escape(AR_paid) %]> |
|
103 |
[% HTML.escape(AR_paid) %][% DIS %]>
|
|
100 | 104 |
[% 'Receipt' | $T8 %] <br> |
101 | 105 |
<input name="AR_tax" type="checkbox" class="checkbox" value="AR_tax" |
102 |
[% HTML.escape(AR_tax) %]> |
|
106 |
[% HTML.escape(AR_tax) %][% DIS %]>
|
|
103 | 107 |
[% 'Tax' | $T8 %] |
104 | 108 |
</td> |
105 | 109 |
<td> |
106 | 110 |
<input name="AP_amount" type="checkbox" class="checkbox" value="AP_amount" |
107 |
[% HTML.escape(AP_amount) %]> |
|
111 |
[% HTML.escape(AP_amount) %][% DIS %]>
|
|
108 | 112 |
[% 'Expense/Asset' | $T8 %] <br> |
109 | 113 |
<input name="AP_paid" type="checkbox" class="checkbox" value="AP_paid" |
110 |
[% HTML.escape(AP_paid) %]> |
|
114 |
[% HTML.escape(AP_paid) %][% DIS %]>
|
|
111 | 115 |
[% 'Payment' | $T8 %] <br> |
112 | 116 |
<input name="AP_tax" type="checkbox" class="checkbox" value="AP_tax" |
113 |
[% HTML.escape(AP_tax) %]> |
|
117 |
[% HTML.escape(AP_tax) %][% DIS %]>
|
|
114 | 118 |
[% 'Tax' | $T8 %] |
115 | 119 |
</td> |
116 | 120 |
<td> |
Auch abrufbar als: Unified diff
Änderungen für die Aufklappmenüs Forderungen und Verbindlichkeiten verhindern, ...
... bei schon bebuchten Konten. Siehe auch Bug 1640.