Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a1c4f3ce

Von Sven Schöling vor fast 15 Jahren hinzugefügt

  • ID a1c4f3ced1a73e63c94377051edbe32462eb521a
  • Vorgänger 56e57179
  • Nachfolger 8e3d1ea0

reqdate in warensuche/bsooqr/oe mode anzeigen.

PArtieller Fix für Bug 1291.

Unterschiede anzeigen:

SL/IC.pm
799 799
       ) AS ioi ON ioi.parts_id = p.id|,
800 800
    apoe       =>
801 801
      q|LEFT JOIN (
802
         SELECT id, transdate, 'ir' AS module, ordnumber, quonumber,         invnumber, FALSE AS quotation, NULL AS customer_id,         vendor_id, NULL AS deliverydate, 'invoice'    AS ioi FROM ap UNION
803
         SELECT id, transdate, 'is' AS module, ordnumber, quonumber,         invnumber, FALSE AS quotation,         customer_id, NULL AS vendor_id,         deliverydate, 'invoice'    AS ioi FROM ar UNION
804
         SELECT id, transdate, 'oe' AS module, ordnumber, quonumber, NULL AS invnumber,          quotation,         customer_id,         vendor_id, NULL AS deliverydate, 'orderitems' AS ioi FROM oe
802
         SELECT id, transdate, 'ir' AS module, ordnumber, quonumber,         invnumber, FALSE AS quotation, NULL AS customer_id,         vendor_id,    NULL AS deliverydate, 'invoice'    AS ioi FROM ap UNION
803
         SELECT id, transdate, 'is' AS module, ordnumber, quonumber,         invnumber, FALSE AS quotation,         customer_id, NULL AS vendor_id,            deliverydate, 'invoice'    AS ioi FROM ar UNION
804
         SELECT id, transdate, 'oe' AS module, ordnumber, quonumber, NULL AS invnumber,          quotation,         customer_id,         vendor_id, reqdate AS deliverydate, 'orderitems' AS ioi FROM oe
805 805
       ) AS apoe ON ((ioi.trans_id = apoe.id) AND (ioi.ioi = apoe.ioi))|,
806 806
    cv         =>
807 807
      q|LEFT JOIN (
bin/mozilla/ic.pl
1145 1145

  
1146 1146
  # special case for lastcost
1147 1147
  if ($form->{ledgerchecks}){
1148
    # zumindestens für den haken 'gekauft' muss das verhalten
1149
    # so sein, das der Verkaufspreis nicht angezeigt
1150
    # wird. In der Backend-Funktion all_parts wird nur mit
1151
    # price gearbeitet
1148
    # ledgerchecks don't know about sellprice or lastcost. they just return a
1149
    # price. so rename sellprice to price, and drop lastcost.
1152 1150
    $column_defs{sellprice}{text} = $locale->text('Price');
1153
    $form->{l_lastcost} = "" 
1151
    $form->{l_lastcost} = ""
1154 1152
  }
1155 1153

  
1156 1154
  if ($form->{description}) {

Auch abrufbar als: Unified diff