Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 686ba63a

Von Cem Aydin vor etwa 1 Jahr hinzugefügt

  • ID 686ba63a67a258d39fd9537e525090b6c6b46a3c
  • Vorgänger c3896321
  • Nachfolger 7619c884

Verkaufsrechnung: Kunden-/Lieferanten picker mit Details Option verwenden

- alte JavaScript verlinkung entfernt

Unterschiede anzeigen:

templates/design40_webpages/is/form_header.html
67 67
    <tr>
68 68
      <th>[% 'Customer' | $T8 %]</th>
69 69
      <td><!-- PENDENT: Type sollte text und nicht customer sein. Ueberall bei customer_vendor.picker aendern, auf allen Seiten -->
70
        [% P.customer_vendor.picker("customer_id", customer_id, type="customer", class="wi-wide initial_focus", size=36, onchange="\$('#update_button').click()") %]
71
        [% #L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)'), class='wi-tiny neutral') %]
72
        <a href="javascript:show_vc_details('customer')" class="button-image info tooltipster-html" title="[% 'Detailed information about this customer' | $T8 %]"><img src="image/detail.png"></a>
73
        [% P.link_tag('controller.pl?action=CustomerVendor/edit&db=customer&id=' _ customer_id, LxERP.t8('Edit'), target="_blank", title=LxERP.t8('Open in new window')) %]
70
        [% P.customer_vendor.picker("customer_id", customer_id, type="customer", class="wi-wide initial_focus",
71
             show_details="1") %]
74 72
        [% L.hidden_tag("previous_customer_id", customer_id) %]
75 73
        [% L.hidden_tag("customer_pricegroup_id", customer_pricegroup_id) %]
76 74
      </td>
......
404 402
<input type="hidden" name="webdav" value="[% webdav %]">
405 403

  
406 404
<script type="text/javascript" src="js/show_form_details.js"></script>
407
<script type="text/javascript" src="js/show_vc_details.js"></script>
408 405
<script type="text/javascript" src="js/show_history.js"></script>
409 406
[% IF (resubmit && is_format_html) || resubmit || creditwarning != '' %]
410 407
  <script type="text/javascript"><!--
templates/webpages/is/form_header.html
62 62
        <tr>
63 63
          <th align="right">[% 'Customer' | $T8 %]</th>
64 64
          <td>
65
           [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %]
66
           [% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
67
           [% P.link_tag('controller.pl?action=CustomerVendor/edit&db=customer&id=' _ customer_id, LxERP.t8('Edit'), target="_blank", title=LxERP.t8('Open in new window')) %]
65
           [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 250px", class="initial_focus",
66
                show_details="1") %]
68 67
           [% L.hidden_tag("previous_customer_id", customer_id) %]
69 68
           [% L.hidden_tag("customer_pricegroup_id", customer_pricegroup_id) %]
70 69
          </td>
......
348 347
</table>
349 348

  
350 349
  <script type="text/javascript" src="js/show_form_details.js"></script>
351
  <script type="text/javascript" src="js/show_vc_details.js"></script>
352 350
  <script type="text/javascript" src="js/show_history.js"></script>
353 351
  <script type="text/javascript">
354 352
   <!--

Auch abrufbar als: Unified diff