Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6accc5b8

Von Cem Aydin vor 11 Monaten hinzugefügt

  • ID 6accc5b897f4f57d4a9da182915080fac070956b
  • Vorgänger bb219a3c
  • Nachfolger 039f2101

Debitoren-/Kreditorenbuchung: Kunden/Lieferanten picker mit Details Option verwenden

- obsoletes JavaScript laden entfernt

Unterschiede anzeigen:

bin/mozilla/ap.pl
563 563
  my $follow_up_vc         = $form->{vendor_id} ? SL::DB::Vendor->load_cached($form->{vendor_id})->name : '';
564 564
  my $follow_up_trans_info =  "$form->{invnumber} ($follow_up_vc)";
565 565

  
566
  $::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");
566
  $::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");
567 567
  # $form->{totalpaid} is used by the action bar setup to determine
568 568
  # whether or not canceling is allowed. Therefore it must be
569 569
  # calculated prior to the action bar setup.
bin/mozilla/ar.pl
434 434
  my $follow_up_vc         = $form->{customer_id} ? SL::DB::Customer->load_cached($form->{customer_id})->name : '';
435 435
  my $follow_up_trans_info =  "$form->{invnumber} ($follow_up_vc)";
436 436

  
437
  $::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");
437
  $::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");
438 438
  # get the correct date for tax
439 439
  my $transdate    = $::form->{transdate}    ? DateTime->from_kivitendo($::form->{transdate})    : DateTime->today_local;
440 440
  my $deliverydate = $::form->{deliverydate} ? DateTime->from_kivitendo($::form->{deliverydate}) : undef;
templates/design40_webpages/ap/form_header.html
86 86
    <tr>
87 87
      <th>[% 'Vendor' | $T8 %]</th>
88 88
      <td class="wi-lightwide">
89
        [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", onchange="\$('#update_button').click()") %]
90
        [% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)'), class='wi-tiny neutral') %]
89
        [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", show_details="1") %]
91 90
        [% L.hidden_tag("previous_vendor_id", vendor_id) %]
92 91
      </td>
93 92
    </tr>
templates/design40_webpages/ar/form_header.html
54 54
      <tr>
55 55
        <th>[% 'Customer' | $T8 %]</th>
56 56
        <td>
57
         [% P.customer_vendor.picker("customer_id", customer_id, type="customer", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %]
58
         [% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
57
         [% P.customer_vendor.picker("customer_id", customer_id, type="customer", show_details="1") %]
59 58
         [% L.hidden_tag("previous_customer_id", customer_id) %]
60 59
         [% L.hidden_tag('terms', terms) %]
61 60
       </td>
templates/webpages/ap/form_header.html
94 94
              <tr>
95 95
                <th align="right" nowrap>[% 'Vendor' | $T8 %]</th>
96 96
                <td colspan="3">
97
                 [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 330px", onchange="\$('#update_button').click()") %]
98
                 [% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %]
97
                 [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", show_details="1",
98
                      style="width: 330px", class=(initial_focus == 'vendor_id' ? "initial_focus" : "")) %]
99 99
                 [% L.hidden_tag("previous_vendor_id", vendor_id) %]
100 100
                </td>
101 101
              </tr>
templates/webpages/ar/form_header.html
51 51
              <tr>
52 52
                <th align="right" nowrap>[% 'Customer' | $T8 %]</th>
53 53
                <td colspan=3>
54
                 [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 330px", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %]
55
                 [% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
54
                 [% P.customer_vendor.picker("customer_id", customer_id, type="customer",
55
                      show_details="1", style="width: 330px", class=(initial_focus == 'customer_id' ? "initial_focus" : "")) %]
56 56
                 [% L.hidden_tag("previous_customer_id", customer_id) %]
57 57
                 [% L.hidden_tag('terms', terms) %]
58 58
               </td>

Auch abrufbar als: Unified diff