Revision 80c4366a
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
bin/mozilla/ic.pl | ||
---|---|---|
1640 | 1640 |
CVar->render_inputs('variables' => $form->{CUSTOM_VARIABLES}, show_disabled_message => 1, partsgroup_id => $partsgroup_id) |
1641 | 1641 |
if (scalar @{ $form->{CUSTOM_VARIABLES} }); |
1642 | 1642 |
|
1643 |
my $active_shops = SL::DB::Manager::Shop->get_all(query => [ obsolete => 0 ], sort_by => 'sortkey'); |
|
1644 |
$form->{ACTIVE_SHOPS} = $active_shops; |
|
1645 |
foreach my $shop ( @$active_shops ) { |
|
1646 |
my ($shop_part) = $part->find_shop_parts( { shop_id => $shop->id } ); |
|
1647 |
push( @{ $form->{SHOP_PARTS} }, $shop_part ); |
|
1648 |
}; |
|
1649 |
|
|
1643 | 1650 |
$::request->layout->use_javascript("${_}.js") for qw(ckeditor/ckeditor ckeditor/adapters/jquery kivi.PriceRule); |
1644 | 1651 |
$::request->layout->add_javascripts_inline("\$(function(){kivi.PriceRule.load_price_rules_for_part(@{[ $::form->{id} * 1 ]})});") if $::form->{id}; |
1645 | 1652 |
$form->header; |
Auch abrufbar als: Unified diff
Shop - erster Test mehrere ShopParts in Artikelreiter
Conflicts:
bin/mozilla/ic.pl