Revision 285578d3
Von Jan Büren vor etwa 6 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
615 | 615 |
|
616 | 616 |
$form->{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
617 | 617 |
|
618 |
my $shipto_cvars = SL::DB::Shipto->new->cvars_by_config; |
|
619 |
foreach my $var (@{ $shipto_cvars }) { |
|
620 |
my $name = "shiptocvar_" . $var->config->name; |
|
621 |
$var->value($form->{$name}) if exists $form->{$name}; |
|
622 |
} |
|
623 |
|
|
618 | 624 |
print $form->parse_html_template('is/form_footer', { |
619 | 625 |
is_type_credit_note => ($form->{type} eq "credit_note"), |
620 | 626 |
totalpaid => $totalpaid, |
... | ... | |
626 | 632 |
: ($::instance_conf->get_is_changeable == 1), |
627 | 633 |
today => DateTime->today, |
628 | 634 |
vc_obj => $form->{customer_id} ? SL::DB::Customer->load_cached($form->{customer_id}) : undef, |
635 |
shipto_cvars => $shipto_cvars, |
|
629 | 636 |
}); |
630 | 637 |
##print $form->parse_html_template('is/_payments'); # parser |
631 | 638 |
##print $form->parse_html_template('webdav/_list'); # parser |
templates/webpages/is/form_footer.html | ||
---|---|---|
152 | 152 |
<input type="hidden" name="gldate" value="[% gldate %]"> |
153 | 153 |
|
154 | 154 |
<div id="shipto_inputs" class="hidden"> |
155 |
[%- PROCESS 'common/_ship_to_dialog.html' %] |
|
155 |
[%- PROCESS 'common/_ship_to_dialog.html' cvars=shipto_cvars %]
|
|
156 | 156 |
</div> |
157 | 157 |
|
158 | 158 |
<div id="email_inputs" style="display: none"></div> |
Auch abrufbar als: Unified diff
BDVs für abweichende Lieferadresse auch in Verkaufsrechnungen anzeigen