Revision 0acf0e35
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
1115 | 1115 |
$discount = |
1116 | 1116 |
$form->format_amount(\%myconfig, $ref->{discount} * 100); |
1117 | 1117 |
$description = |
1118 |
($ref->{salesman}) |
|
1119 |
? "<b>$ref->{description}</b>" |
|
1120 |
: "$ref->{description}"; |
|
1118 |
$ref->{description}; |
|
1121 | 1119 |
$column_data{description} = |
1122 | 1120 |
qq|<td><a href=$form->{script}?action=edit_business&id=$ref->{id}&path=$form->{path}&login=$form->{login}&password=$form->{password}&callback=$callback>$description</td>|; |
1123 | 1121 |
$column_data{discount} = qq|<td align=right>$discount</td>|; |
... | ... | |
1167 | 1165 |
$lxdebug->enter_sub(); |
1168 | 1166 |
|
1169 | 1167 |
$form->{title} = $locale->text("$form->{title} Business"); |
1170 |
$form->{salesman} = "checked" if $form->{salesman}; |
|
1171 | 1168 |
|
1172 | 1169 |
# $locale->text('Add Business') |
1173 | 1170 |
# $locale->text('Edit Business') |
... | ... | |
1203 | 1200 |
<th align=right>| . $locale->text('Customernumberinit') . qq|</th> |
1204 | 1201 |
<td><input name=customernumberinit size=10 value=$form->{customernumberinit}></td> |
1205 | 1202 |
</tr> |
1206 |
<tr> |
|
1207 |
<td align=right>| . $locale->text('Salesman') . qq|</td> |
|
1208 |
<td><input name=salesman class=checkbox type=checkbox value=1 $form->{salesman}></td> |
|
1209 |
</tr> |
|
1210 | 1203 |
<td colspan=2><hr size=3 noshade></td> |
1211 | 1204 |
</tr> |
1212 | 1205 |
</table> |
Auch abrufbar als: Unified diff
Bei Kunden-/Lieferantentypen das Feld "Vertreter" ausblenden.