]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IS.pm
io/select_item um optional part.notes erweitert
[mfinanz.git] / SL / IS.pm
index 62ba10e18a30e6b490414392305210d8a4fde1fa..f94efa1f241d810c58915ea7500c2d5aaebf388d 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -529,6 +529,7 @@ sub invoice_details {
 
   $form->{delivery_term} = SL::DB::Manager::DeliveryTerm->find_by(id => $form->{delivery_term_id} || undef);
   $form->{delivery_term}->description_long($form->{delivery_term}->translated_attribute('description_long', $form->{language_id})) if $form->{delivery_term} && $form->{language_id};
+  $form->{department}    = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id};
 
   $form->{username} = $myconfig->{name};
 
@@ -2231,7 +2232,7 @@ sub retrieve_item {
     qq|SELECT
          p.id, p.partnumber, p.description, p.sellprice,
          p.listprice, p.inventory_accno_id, p.lastcost,
-         p.ean,
+         p.ean, p.notes,
 
          c1.accno AS inventory_accno,
          c1.new_chart_id AS inventory_new_chart,