]> wagnertech.de Git - mfinanz.git/commitdiff
Merge branch 'frameless_w_fixed_header-div'
authorSven Donath <lxo@dexo.de>
Thu, 18 Oct 2012 15:17:12 +0000 (17:17 +0200)
committerSven Donath <lxo@dexo.de>
Thu, 18 Oct 2012 15:17:12 +0000 (17:17 +0200)
SL/IC.pm
SL/Layout/None.pm
bin/mozilla/ic.pl
templates/webpages/ic/search.html

index 8895bf888e39e5bad0dde0360863d5df525ffb58..0f41870942e3b02c6f93dd9514479eec2e80b812 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -793,7 +793,7 @@ sub all_parts {
   my @apoe_filters         = qw(transdate);
   my @like_filters         = (@simple_filters, @invoice_oi_filters);
   my @all_columns          = (@simple_filters, @makemodel_filters, @apoe_filters, @project_filters, qw(serialnumber));
-  my @simple_l_switches    = (@all_columns, qw(listprice sellprice lastcost priceupdate weight unit bin rop image));
+  my @simple_l_switches    = (@all_columns, qw(notes listprice sellprice lastcost priceupdate weight unit bin rop image));
   my @oe_flags             = qw(bought sold onorder ordered rfq quoted);
   my @qsooqr_flags         = qw(invnumber ordnumber quonumber trans_id name module qty);
   my @deliverydate_flags   = qw(deliverydate);
@@ -1094,7 +1094,7 @@ sub all_parts {
   if ($form->{searchitems} eq 'assembly' && $form->{bom}) {
     $query =
       qq|SELECT p.id, p.partnumber, p.description, a.qty AS onhand,
-           p.unit, p.bin,
+           p.unit, p.bin, p.notes,
            p.sellprice, p.listprice, p.lastcost,
            p.rop, p.weight, p.priceupdate,
            p.image, p.drawing, p.microfiche,
index 90c8661e93fe218953f2e3e737b33808b0334ad0..0e65e8acda1481b43b606b26ec63481ad6f19b16 100644 (file)
@@ -8,11 +8,11 @@ sub javascripts_inline {
   _setup_focus(),
 }
 
-sub use_javascripts {
+sub use_javascript {
   'js/common.js'
 }
 
-sub use_stylesheets {
+sub use_stylesheet {
   'main.css'
 }
 
index 95fbbdeec4f988a716b361916a88476d2e417d6f..2cbad4f62ce5b38f9a60809d72e8cb771c90c71c 100644 (file)
@@ -1024,6 +1024,7 @@ sub generate_report {
     'bin'                => { 'text' => $locale->text('Bin'), },
     'deliverydate'       => { 'text' => $locale->text('deliverydate'), },
     'description'        => { 'text' => $locale->text('Part Description'), },
+    'notes'              => { 'text' => $locale->text('Notes'), },
     'drawing'            => { 'text' => $locale->text('Drawing'), },
     'ean'                => { 'text' => $locale->text('EAN'), },
     'image'              => { 'text' => $locale->text('Image'), },
@@ -1206,7 +1207,7 @@ sub generate_report {
   IC->all_parts(\%myconfig, \%$form);
 
   my @columns = qw(
-    partnumber description partsgroup bin onhand rop soldtotal unit listprice
+    partnumber description notes partsgroup bin onhand rop soldtotal unit listprice
     linetotallistprice sellprice linetotalsellprice lastcost linetotallastcost
     priceupdate weight image drawing microfiche invnumber ordnumber quonumber
     transdate name serialnumber deliverydate ean projectnumber projectdescription
index aa9efa2037c6b33d8a6726b15a467c8a7c82171e..ffdf29bc25bdb743eca58c7464845c2a7ddce18f 100644 (file)
           </td>
          </tr>
 
+         <tr>
+          <td>
+           <input name="l_notes" id="l_notes" class="checkbox" type="checkbox" value="Y">
+           <label for="l_notes">[% 'Notes' | $T8 %]</label>
+          </td>
+         </tr>
+
          [% CUSTOM_VARIABLES_INCLUSION_CODE %]
         </table>
        </td>