Revision a9ebf4e6
Von Bernd Bleßmann vor 3 Monaten hinzugefügt
SL/Controller/StockCounting.pm | ||
---|---|---|
175 | 175 |
: qw(counting counted_at part bin qty stocked employee reconciliated); |
176 | 176 |
|
177 | 177 |
my %column_defs = ( |
178 |
counting => { text => t8('Stock Counting'), sub => sub { $_[0]->counting->name }, }, |
|
179 |
counted_at => { text => t8('Counted At'), sub => sub { $_[0]->counted_at_as_timestamp }, }, |
|
180 |
qty => { text => t8('Qty'), sub => sub { $_[0]->qty_as_number }, align => 'right' }, |
|
181 |
part => { text => t8('Article'), sub => sub { $_[0]->part && $_[0]->part->displayable_name } }, |
|
182 |
bin => { text => t8('Bin'), sub => sub { $_[0]->bin->full_description } }, |
|
183 |
employee => { text => t8('Employee'), sub => sub { $_[0]->employee ? $_[0]->employee->safe_name : '---'} }, |
|
184 |
stocked => { text => t8('Stocked Qty'), sub => sub { _format_total($_[0]->{stocked}) }, align => 'right'}, |
|
185 |
reconciliated => { text => t8('Reconciliated'), sub => sub { $_[0]->{reconciliated} ? t8('Yes') : t8('No') }, align => 'right'}, |
|
178 |
counting => { text => t8('Stock Counting'), sub => sub { $_[0]->counting->name }, },
|
|
179 |
counted_at => { text => t8('Counted At'), sub => sub { $_[0]->counted_at_as_timestamp }, },
|
|
180 |
qty => { text => t8('Qty'), sub => sub { $_[0]->qty_as_number }, align => 'right' },
|
|
181 |
part => { text => t8('Article'), sub => sub { $_[0]->part && $_[0]->part->displayable_name } },
|
|
182 |
bin => { text => t8('Bin'), sub => sub { $_[0]->bin->full_description } },
|
|
183 |
employee => { text => t8('Employee'), sub => sub { $_[0]->employee ? $_[0]->employee->safe_name : '---'} },
|
|
184 |
stocked => { text => t8('Stocked Qty'), sub => sub { _format_total($_[0]->{stocked}) }, align => 'right'},
|
|
185 |
reconciliated => { text => t8('Reconciliated'), sub => sub { $_[0]->{reconciliated} ? t8('Yes') : t8('No') }, align => 'right'},
|
|
186 | 186 |
); |
187 | 187 |
|
188 | 188 |
# remove columns from defs which are not in @columns |
Auch abrufbar als: Unified diff
Zwischeninventur: Kosmetik: Ausrichtung