Revision d1d9b5a7
Von Thomas Kasulke vor mehr als 17 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
38 | 38 |
require "bin/mozilla/io.pl"; |
39 | 39 |
require "bin/mozilla/arap.pl"; |
40 | 40 |
require "bin/mozilla/drafts.pl"; |
41 |
|
|
41 |
$form->{"Watchdog::taxincluded"} = 1; |
|
42 | 42 |
1; |
43 | 43 |
|
44 | 44 |
# end of main |
... | ... | |
845 | 845 |
qq|<textarea name="notes" rows="$rows" cols="26" wrap="soft">$form->{notes}</textarea>|; |
846 | 846 |
$intnotes = |
847 | 847 |
qq|<textarea name="intnotes" rows="$rows" cols="35" wrap="soft">$form->{intnotes}</textarea>|; |
848 |
|
|
849 |
$form->{taxincluded} = ($form->{taxincluded}) ? "checked" : "";
|
|
848 |
|
|
849 |
$form->{taxincluded} = ($form->{taxincluded} == 1 ? "checked" : "");
|
|
850 | 850 |
|
851 | 851 |
$taxincluded = ""; |
852 | 852 |
if ($form->{taxaccounts}) { |
853 | 853 |
$taxincluded = qq| |
854 |
<input name="taxincluded" class="checkbox" type="checkbox" value=$form->{taxincluded}> <b>| |
|
854 |
<input name="taxincluded" class="checkbox" type="checkbox" value="1" $form->{taxincluded}> <b>|
|
|
855 | 855 |
. $locale->text('Tax Included') . qq|</b><br><br>|; |
856 | 856 |
} |
857 | 857 |
|
... | ... | |
1208 | 1208 |
$form->{print_and_post} = 0; |
1209 | 1209 |
} |
1210 | 1210 |
|
1211 |
|
|
1212 |
if($form->{taxincluded}) { |
|
1213 |
$taxincluded = "checked"; |
|
1214 |
} |
|
1211 | 1215 |
$form->{update} = 1; |
1212 | 1216 |
|
1213 | 1217 |
&check_name(customer); |
1214 | 1218 |
|
1219 |
if(!$form->{taxincluded}) { |
|
1220 |
$form->{taxincluded} = $taxincluded; |
|
1221 |
} |
|
1222 |
|
|
1223 |
|
|
1215 | 1224 |
$form->{exchangerate} = $exchangerate |
1216 | 1225 |
if ( |
1217 | 1226 |
$form->{forex} = ( |
Auch abrufbar als: Unified diff
Bug 639 behoben (Checkbox taxincluded hat sich bei Erneuern klicken deaktiviert)