Revision 31dde52b
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/DispositionManager.pm | ||
---|---|---|
163 | 163 |
sub action_show_vendor_items { |
164 | 164 |
my ($self) = @_; |
165 | 165 |
|
166 |
my $makemodels_parts = SL::DB::Manager::Part->get_all( |
|
167 |
query => [ |
|
168 |
'makemodels.make' => $::form->{v_id}, |
|
169 |
'makemodels.sortorder' => 1, |
|
170 |
], |
|
171 |
sort_by => 'onhand', |
|
172 |
with_objects => [ 'makemodels' ] |
|
173 |
); |
|
166 |
my $makemodels_parts; |
|
167 |
if ($::form->{vendor_id}) { |
|
168 |
$makemodels_parts = SL::DB::Manager::Part->get_all( |
|
169 |
query => [ |
|
170 |
'purchase_basket_item.id' => undef, |
|
171 |
'makemodels.make' => $::form->{vendor_id}, |
|
172 |
], |
|
173 |
sort_by => 'onhand', |
|
174 |
with_objects => [ 'makemodels', 'purchase_basket_item' ] |
|
175 |
); |
|
176 |
}; |
|
177 |
|
|
174 | 178 |
$self->render( |
175 | 179 |
'disposition_manager/_show_vendor_parts', |
176 | 180 |
{ layout => 0 }, |
Auch abrufbar als: Unified diff
DispositionManager: Zeige keine Lieferanten-Artikel die im Warenkorb sind