X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fic.pl;h=9803f0c07dbece3d9683b51f7525c1641777f68d;hb=bfd5682ab8cad5878260ec2cafcd630dd3c05eff;hp=dd183b2641bd7863d07d7537ba85c59d7404907e;hpb=984f6322b98c8d0cd3ceb9f659ed6621d180e617;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index dd183b264..9803f0c07 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -203,6 +203,8 @@ sub generate_report { 'projectdescription' => { 'text' => $locale->text('Project Description'), }, 'warehouse' => { 'text' => $locale->text('Default Warehouse'), }, 'bin' => { 'text' => $locale->text('Default Bin'), }, + 'make' => { 'text' => $locale->text('Make'), }, + 'model' => { 'text' => $locale->text('Model'), }, ); $revers = $form->{revers}; @@ -381,7 +383,7 @@ sub generate_report { my @columns = qw( partnumber type_and_classific description notes partsgroup warehouse bin - onhand rop soldtotal unit listprice + make model 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 @@ -418,6 +420,8 @@ sub generate_report { @itemstatus_keys, @callback_keys, map({ "cvar_$_->{name}" } @searchable_custom_variables), + map({'cvar_'. $_->{name} .'_from'} grep({$_->{type} eq 'date'} @searchable_custom_variables)), + map({'cvar_'. $_->{name} .'_to'} grep({$_->{type} eq 'date'} @searchable_custom_variables)), map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables)), map({ "l_$_" } @columns), );