Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7d026c7c

Von Niclas Zimmermann vor etwa 12 Jahren hinzugefügt

  • ID 7d026c7c58d00ec0f48beedf8a8c221738863772
  • Vorgänger 5b4b9d4b
  • Nachfolger cd98d068

Anzeige von Kundennummmer in Verkauf

In Verkauf-Berichte-Aufträge/Angebote/Lieferscheine/Rechnungen
kann man jetzt auch die Kundennummer in den Bericht mit aufnehmen.

Unterschiede anzeigen:

SL/DO.pm
62 62

  
63 63
  my $query =
64 64
    qq|SELECT dord.id, dord.donumber, dord.ordnumber, dord.transdate,
65
         ct.name, dord.${vc}_id, dord.globalproject_id,
65
         ct.${vc}number, ct.name, dord.${vc}_id, dord.globalproject_id,
66 66
         dord.closed, dord.delivered, dord.shippingpoint, dord.shipvia,
67 67
         dord.transaction_description,
68 68
         pr.projectnumber AS globalprojectnumber,
SL/OE.pm
78 78

  
79 79
  $query =
80 80
    qq|SELECT o.id, o.ordnumber, o.transdate, o.reqdate, | .
81
    qq|  o.amount, ct.name, o.netamount, o.${vc}_id, o.globalproject_id, | .
81
    qq|  o.amount, ct.${vc}number, ct.name, o.netamount, o.${vc}_id, o.globalproject_id, | .
82 82
    qq|  o.closed, o.delivered, o.quonumber, o.shippingpoint, o.shipvia, | .
83 83
    qq|  o.transaction_description, | .
84 84
    qq|  o.marge_total, o.marge_percent, | .
bin/mozilla/do.pl
488 488
  my @columns = qw(
489 489
    ids                     transdate
490 490
    id                      donumber
491
    ordnumber
491
    ordnumber               customernumber
492 492
    name                    employee  salesman
493 493
    shipvia                 globalprojectnumber
494 494
    transaction_description
......
516 516
    'id'                      => { 'text' => $locale->text('ID'), },
517 517
    'donumber'                => { 'text' => $locale->text('Delivery Order'), },
518 518
    'ordnumber'               => { 'text' => $locale->text('Order'), },
519
    'customernumber'          => { 'text' => $locale->text('Customer Number'), },
519 520
    'name'                    => { 'text' => $form->{vc} eq 'customer' ? $locale->text('Customer') : $locale->text('Vendor'), },
520 521
    'employee'                => { 'text' => $locale->text('Employee'), },
521 522
    'salesman'                => { 'text' => $locale->text('Salesman'), },
bin/mozilla/oe.pl
777 777
  my @columns = (
778 778
    "transdate",               "reqdate",
779 779
    "id",                      $ordnumber,
780
    "customernumber", 
780 781
    "name",                    "netamount",
781 782
    "tax",                     "amount",
782 783
    "curr",                    "employee",
......
836 837
    'ordnumber'               => { 'text' => $locale->text('Order'), },
837 838
    'quonumber'               => { 'text' => $form->{type} eq "request_quotation" ? $locale->text('RFQ') : $locale->text('Quotation'), },
838 839
    'name'                    => { 'text' => $form->{vc} eq 'customer' ? $locale->text('Customer') : $locale->text('Vendor'), },
840
    'customernumber'          => { 'text' => $locale->text('Customer Number'), },
839 841
    'netamount'               => { 'text' => $locale->text('Amount'), },
840 842
    'tax'                     => { 'text' => $locale->text('Tax'), },
841 843
    'amount'                  => { 'text' => $locale->text('Total'), },
templates/webpages/ar/search.html
138 138
          <tr>
139 139
           <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
140 140
           <td nowrap>[% 'Customer' | $T8 %]</td>
141
           <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
142
           <td nowrap>[% 'Customer Number' | $T8 %]</td>
143
          </tr>
144
          <tr>
141 145
           <td align=right><input name="l_netamount" class=checkbox type=checkbox value="Y" checked></td>
142 146
           <td nowrap>[% 'Amount' | $T8 %]</td>
143 147
           <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
templates/webpages/do/search.html
173 173
         <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
174 174
         <label for="l_name">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</label>
175 175
        </td>
176

  
177
        [% IF is_customer %]
178
        <td>
179
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
180
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
181
        </td>
182
        [% END %]
176 183
       </tr>
177 184

  
178 185
       <tr>
templates/webpages/oe/search.html
169 169
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
170 170
        </td>
171 171
       </tr>
172
       <tr>
173
        <td>
174
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
175
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
176
        </td>
177
       </tr>
172 178
       <tr>
173 179
        <td>
174 180
         <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">

Auch abrufbar als: Unified diff