Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 34c4dde3

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

  • ID 34c4dde3534bc8deeacf9a6a23cdb56de2e89b13
  • Vorgänger a32fcad2
  • Nachfolger 5b3d7427

DO: order_type beim initialen anlegen

Unterschiede anzeigen:

SL/DO.pm
333 333
    $query = qq|SELECT nextval('id')|;
334 334
    ($form->{id}) = selectrow_query($form, $dbh, $query);
335 335

  
336
    $query = qq|INSERT INTO delivery_orders (id, donumber, employee_id, currency_id, taxzone_id) VALUES (?, '', ?, (SELECT currency_id FROM defaults LIMIT 1), ?)|;
337
    do_query($form, $dbh, $query, $form->{id}, conv_i($form->{employee_id}), $form->{taxzone_id});
336
    $query = qq|INSERT INTO delivery_orders (id, donumber, employee_id, currency_id, taxzone_id, order_type) VALUES (?, '', ?, (SELECT currency_id FROM defaults LIMIT 1), ?, ?)|;
337
    do_query($form, $dbh, $query, $form->{id}, conv_i($form->{employee_id}), $form->{taxzone_id}, SALES_DELIVERY_ORDER_TYPE);
338 338
  }
339 339

  
340 340
  my $project_id;

Auch abrufbar als: Unified diff