Revision ad70fca3
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/ic.pl | ||
---|---|---|
2149 | 2149 |
|
2150 | 2150 |
my ($payment, $rows, $notes, $description, $ean, $buchungsgruppe, $partsgroup, $group, $tax, $lastcost, $eur, $linkaccounts, $weight, $n, $rop, $bin, $vegv); |
2151 | 2151 |
my ($notdiscountableok, $notdiscountable); |
2152 |
my ($formel, $imagelinks, $obsolete, $shopok, $shop); |
|
2152 |
my ($formula, $formula_label, $imagelinks, $obsolete, $shopok, $shop);
|
|
2153 | 2153 |
|
2154 | 2154 |
|
2155 | 2155 |
map({ $form->{$_} = $form->format_amount(\%myconfig, $form->{$_}, -2) } |
... | ... | |
2409 | 2409 |
</tr> |
2410 | 2410 |
|; |
2411 | 2411 |
|
2412 |
$formel = |
|
2413 |
qq|<ilayer><layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('| . $locale->text('The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>') . qq|')"><textarea name=formel rows=4 cols=30 wrap=soft>$form->{formel}</textarea></layer><ilayer>|; |
|
2412 |
$formula = |
|
2413 |
qq|<ilayer><layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('| . $locale->text('The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>') . qq|')"><textarea name=formel rows=4 cols=30 wrap=soft>$form->{formel}</textarea></layer><ilayer>|; |
|
2414 |
|
|
2415 |
$formula_label = $locale->text('Formula'); |
|
2416 |
|
|
2414 | 2417 |
$imagelinks = qq| |
2415 | 2418 |
<tr> |
2416 | 2419 |
<td> |
... | ... | |
2551 | 2554 |
</td> |
2552 | 2555 |
<tr> |
2553 | 2556 |
<th align="left">| . $locale->text('Notes') . qq|</th> |
2554 |
<th align="left">| . $locale->text('Formula') . qq|</th>
|
|
2557 |
<th align="left">$formula_label</th>
|
|
2555 | 2558 |
</tr> |
2556 | 2559 |
<tr> |
2557 | 2560 |
<td> |
2558 | 2561 |
$notes |
2559 | 2562 |
</td> |
2560 | 2563 |
<td> |
2561 |
$formel
|
|
2564 |
$formula
|
|
2562 | 2565 |
</td> |
2563 | 2566 |
</tr> |
2564 | 2567 |
<tr> |
Auch abrufbar als: Unified diff
1. Das Label "Formel" bei Dienstleistungen nicht anzeigen (die Textarea dazu wurde bereits versteckt). Fix für Bug 684.
2. Kosmetik: Variable $formel nach $formula umbenannt und etwas Einrückung.