Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a4ab1662

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

  • ID a4ab16624be5907d84693913e27c56dacb83b7d9
  • Vorgänger 40dbbd16
  • Nachfolger 4ca0acc8

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