Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
authorNiclas Zimmermann <niclas@lx-office-hosting.de>
Thu, 18 Oct 2012 12:28:21 +0000 (14:28 +0200)
committerNiclas Zimmermann <niclas@lx-office-hosting.de>
Thu, 18 Oct 2012 12:28:21 +0000 (14:28 +0200)
1  2 
bin/mozilla/ic.pl
templates/webpages/ic/search.html

diff --combined bin/mozilla/ic.pl
@@@ -288,7 -288,6 +288,6 @@@ sub update_prices 
  #  $form->header;
  #
  #  print qq|
- #<body>
  #  <form method=post action=ic.pl>
  #    <table width=100%>
  #     <tr>
  #    . $locale->text('TOP100') . qq|">
  #
  #</form>
- #</body>
- #</html>
  #|;
  #  $lxdebug->leave_sub();
  #}    #end list()
@@@ -725,8 -722,6 +722,6 @@@ sub addtop100 
    my $colspan = $#column_index + 1;
  
    print qq|
- <body>
  <table width=100%>
    <tr>
      <th class=listtop colspan=$colspan>$form->{title}</th>
      . $locale->text('choice') . qq|">
  
    </form>
- </body>
- </html>
  |;
  
    $lxdebug->leave_sub();
@@@ -1032,7 -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'), },
    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
@@@ -2,7 -2,6 +2,6 @@@
  [%- USE HTML %]
  [%- USE LxERP %]
  [%- USE L %]
- <body>
  
   <form method="post" action="ic.pl">
  
            </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>
    </p>
   </form>
  
- </body>
- </html>