Revision cac65c52
Von Moritz Bunkus vor mehr als 18 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
<td>$form->{name}</td>
|
||
<td><input name=shiptoname size=35 value="$form->{shiptoname}"></td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>| . $locale->text('Department') . qq|</th>
|
||
<td>$form->{department_1}</td>
|
||
<td><input name=shiptodepartment_1 size=35 value="$form->{shiptodepartment_1}"></td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap> </th>
|
||
<td>$form->{department_2}</td>
|
||
<td><input name=shiptodepartment_2 size=35 value="$form->{shiptodepartment_2}"></td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>| . $locale->text('Street') . qq|</th>
|
||
<td>$form->{street}</td>
|
||
... | ... | |
|
||
# delete shipto
|
||
map { delete $form->{$_} }
|
||
qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail header);
|
||
qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2 header);
|
||
$form->{title} = $title;
|
||
|
||
foreach $key (keys %$form) {
|
bin/mozilla/oe.pl | ||
---|---|---|
$form->{media} = "screen";
|
||
$form->{formname} = $form->{type} unless $form->{formname};
|
||
|
||
map { $form->{$_} =~ s/\"/"/g }
|
||
qw(ordnumber quonumber shippingpoint shipvia notes intnotes shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact);
|
||
my $i = 0;
|
||
foreach $ref (@{ $form->{form_details} }) {
|
||
$form->{rowcount} = ++$i;
|
||
... | ... | |
$checkedopen = ($form->{closed}) ? "" : "checked";
|
||
$checkedclosed = ($form->{closed}) ? "checked" : "";
|
||
|
||
map { $form->{$_} =~ s/\"/"/g }
|
||
qw(ordnumber quonumber shippingpoint shipvia notes intnotes shiptoname
|
||
shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact
|
||
shiptophone shiptofax shiptodepartment_1 shiptodepartment_2);
|
||
|
||
# use JavaScript Calendar or not
|
||
$form->{jsscript} = $form->{jscalendar};
|
||
$jsscript = "";
|
||
... | ... | |
<input type=hidden name=shiptocontact value="$form->{shiptocontact}">
|
||
<input type=hidden name=shiptophone value="$form->{shiptophone}">
|
||
<input type=hidden name=shiptofax value="$form->{shiptofax}">
|
||
<input type=hidden name=shiptodepartment_1 value="$form->{shiptodepartment_1}">
|
||
<input type=hidden name=shiptodepartment_2 value="$form->{shiptodepartment_2}">
|
||
<input type=hidden name=shiptoemail value="$form->{shiptoemail}">
|
||
|
||
<!-- email variables -->
|
||
... | ... | |
<input type=hidden name=shiptophone value="$form->{shiptophone}">
|
||
<input type=hidden name=shiptofax value="$form->{shiptofax}">
|
||
<input type=hidden name=shiptoemail value="$form->{shiptoemail}">
|
||
<input type=hidden name=shiptodepartment_1 value="$form->{shiptodepartment_1}">
|
||
<input type=hidden name=shiptodepartment_2 value="$form->{shiptodepartment_2}">
|
||
|
||
<!-- email variables -->
|
||
<input type=hidden name=message value="$form->{message}">
|
Auch abrufbar als: Unified diff
Bei der Eingabe von Lieferadressen aus den Verkaufsmasken heraus können auch die beiden Felder für die Abteilungen angegeben werden. Fix für Bugzilla #397.