Revision b1e2dfac
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
SL/IC.pm | ||
---|---|---|
# l_warehouse l_bin
|
||
#
|
||
# exclusives:
|
||
# itemstatus = active | onhand | short | obsolete | orphaned
|
||
# itemstatus = active | onhand | short | order_locked | obsolete | orphaned
|
||
# searchitems = part | assembly | service
|
||
#
|
||
# joining filters:
|
||
... | ... | |
push @where_tokens, ' p.obsolete', if /obsolete/;
|
||
push @where_tokens, 'p.onhand > 0', if /onhand/;
|
||
push @where_tokens, 'p.onhand < p.rop', if /short/;
|
||
push @where_tokens, 'p.order_locked', if /order_locked/;
|
||
}
|
||
|
||
my $q_assembly_lastcost =
|
bin/mozilla/ic.pl | ||
---|---|---|
# transdatefrom transdateto
|
||
#
|
||
# radio:
|
||
# itemstatus = active | onhand | short | obsolete | orphaned
|
||
# itemstatus = active | onhand | short | order_locked | obsolete | orphaned
|
||
# action = continue | top100
|
||
#
|
||
# checkboxes:
|
||
... | ... | |
my %optiontexts = (
|
||
active => $locale->text('Active'),
|
||
obsolete => $locale->text('Obsolete'),
|
||
order_locked => $locale->text('Do not order anymore'),
|
||
orphaned => $locale->text('Orphaned'),
|
||
onhand => $locale->text('On Hand'),
|
||
assembly_qty => $locale->text('Assembly Item Qty'),
|
||
... | ... | |
l_part => $locale->text('Parts'),
|
||
);
|
||
|
||
my @itemstatus_keys = qw(active obsolete orphaned onhand short);
|
||
my @itemstatus_keys = qw(active order_locked obsolete orphaned onhand short);
|
||
my @callback_keys = qw(onorder ordered rfq quoted bought sold partnumber partsgroup partsgroup_id serialnumber description make model
|
||
drawing microfiche l_soldtotal l_deliverydate transdatefrom transdateto insertdatefrom insertdateto ean shop all
|
||
l_service l_assembly l_part);
|
templates/design40_webpages/ic/search.html | ||
---|---|---|
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<td colspan="2">
|
||
[% L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]<br>
|
||
[% L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]<br>
|
||
[% L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]<br>
|
||
[% L.radio_button_tag('itemstatus', value='order_locked', id='itemstatus_order_locked', label=LxERP.t8('Do not order anymore')) %]<br>
|
||
[% L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]<br>
|
||
[% L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]<br>
|
||
[% L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
|
templates/webpages/ic/search.html | ||
---|---|---|
[%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
|
||
[%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
|
||
[%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
|
||
[%- L.radio_button_tag('itemstatus', value='order_locked', id='itemstatus_order_locked', label=LxERP.t8('Do not order anymore')) %]
|
||
[%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
|
||
[%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
|
||
[%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
|
Auch abrufbar als: Unified diff
Auslaufende Artikel: Filteroption in Artikelsuche