Revision 6ed96afe
Von Cem Aydin vor mehr als 1 Jahr hinzugefügt
| bin/mozilla/ap.pl | ||
|---|---|---|
|
my $follow_up_vc = $form->{vendor_id} ? SL::DB::Vendor->load_cached($form->{vendor_id})->name : '';
|
||
|
my $follow_up_trans_info = "$form->{invnumber} ($follow_up_vc)";
|
||
|
|
||
|
$::request->layout->add_javascripts("autocomplete_chart.js", "show_vc_details.js", "show_history.js", "follow_up.js", "kivi.Draft.js", "kivi.SalesPurchase.js", "kivi.GL.js", "kivi.RecordTemplate.js", "kivi.File.js", "kivi.AP.js", "kivi.CustomerVendor.js", "kivi.Validator.js", "autocomplete_project.js");
|
||
|
$::request->layout->add_javascripts("autocomplete_chart.js", "show_history.js", "follow_up.js", "kivi.Draft.js", "kivi.SalesPurchase.js", "kivi.GL.js", "kivi.RecordTemplate.js", "kivi.File.js", "kivi.AP.js", "kivi.CustomerVendor.js", "kivi.Validator.js", "autocomplete_project.js");
|
||
|
# $form->{totalpaid} is used by the action bar setup to determine
|
||
|
# whether or not canceling is allowed. Therefore it must be
|
||
|
# calculated prior to the action bar setup.
|
||
| bin/mozilla/ar.pl | ||
|---|---|---|
|
my $follow_up_vc = $form->{customer_id} ? SL::DB::Customer->load_cached($form->{customer_id})->name : '';
|
||
|
my $follow_up_trans_info = "$form->{invnumber} ($follow_up_vc)";
|
||
|
|
||
|
$::request->layout->add_javascripts("autocomplete_chart.js", "show_vc_details.js", "show_history.js", "follow_up.js", "kivi.Draft.js", "kivi.GL.js", "kivi.File.js", "kivi.RecordTemplate.js", "kivi.AR.js", "kivi.CustomerVendor.js", "kivi.Validator.js");
|
||
|
$::request->layout->add_javascripts("autocomplete_chart.js", "show_history.js", "follow_up.js", "kivi.Draft.js", "kivi.GL.js", "kivi.File.js", "kivi.RecordTemplate.js", "kivi.AR.js", "kivi.CustomerVendor.js", "kivi.Validator.js");
|
||
|
# get the correct date for tax
|
||
|
my $transdate = $::form->{transdate} ? DateTime->from_kivitendo($::form->{transdate}) : DateTime->today_local;
|
||
|
my $deliverydate = $::form->{deliverydate} ? DateTime->from_kivitendo($::form->{deliverydate}) : undef;
|
||
| templates/design40_webpages/ap/form_header.html | ||
|---|---|---|
|
<tr>
|
||
|
<th>[% 'Vendor' | $T8 %]</th>
|
||
|
<td class="wi-lightwide">
|
||
|
[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", onchange="\$('#update_button').click()") %]
|
||
|
[% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)'), class='wi-tiny neutral') %]
|
||
|
[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", show_details="1") %]
|
||
|
[% L.hidden_tag("previous_vendor_id", vendor_id) %]
|
||
|
</td>
|
||
|
</tr>
|
||
| templates/design40_webpages/ar/form_header.html | ||
|---|---|---|
|
<tr>
|
||
|
<th>[% 'Customer' | $T8 %]</th>
|
||
|
<td>
|
||
|
[% P.customer_vendor.picker("customer_id", customer_id, type="customer", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %]
|
||
|
[% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
|
||
|
[% P.customer_vendor.picker("customer_id", customer_id, type="customer", show_details="1") %]
|
||
|
[% L.hidden_tag("previous_customer_id", customer_id) %]
|
||
|
[% L.hidden_tag('terms', terms) %]
|
||
|
</td>
|
||
| templates/webpages/ap/form_header.html | ||
|---|---|---|
|
<tr>
|
||
|
<th align="right" nowrap>[% 'Vendor' | $T8 %]</th>
|
||
|
<td colspan="3">
|
||
|
[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 330px", onchange="\$('#update_button').click()") %]
|
||
|
[% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %]
|
||
|
[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", show_details="1",
|
||
|
style="width: 330px", class=(initial_focus == 'vendor_id' ? "initial_focus" : "")) %]
|
||
|
[% L.hidden_tag("previous_vendor_id", vendor_id) %]
|
||
|
</td>
|
||
|
</tr>
|
||
| templates/webpages/ar/form_header.html | ||
|---|---|---|
|
<tr>
|
||
|
<th align="right" nowrap>[% 'Customer' | $T8 %]</th>
|
||
|
<td colspan=3>
|
||
|
[% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 330px", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %]
|
||
|
[% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
|
||
|
[% P.customer_vendor.picker("customer_id", customer_id, type="customer",
|
||
|
show_details="1", style="width: 330px", class=(initial_focus == 'customer_id' ? "initial_focus" : "")) %]
|
||
|
[% L.hidden_tag("previous_customer_id", customer_id) %]
|
||
|
[% L.hidden_tag('terms', terms) %]
|
||
|
</td>
|
||
Auch abrufbar als: Unified diff
Debitoren-/Kreditorenbuchung: Kunden/Lieferanten picker mit Details Option verwenden
- obsoletes JavaScript laden entfernt