diff --git a/addons/default/visiosoft/advs-module/resources/css/list-new.scss b/addons/default/visiosoft/advs-module/resources/css/list-new.scss index b10b4fa9a..6d65b7e39 100644 --- a/addons/default/visiosoft/advs-module/resources/css/list-new.scss +++ b/addons/default/visiosoft/advs-module/resources/css/list-new.scss @@ -95,6 +95,8 @@ ul { } #categoryList { + max-height: 24rem; + & > li { margin-bottom: .4rem; diff --git a/addons/default/visiosoft/advs-module/resources/views/error-msg.twig b/addons/default/visiosoft/advs-module/resources/views/error-msg.twig new file mode 100644 index 000000000..a47b06e23 --- /dev/null +++ b/addons/default/visiosoft/advs-module/resources/views/error-msg.twig @@ -0,0 +1,7 @@ +{% extends "theme::layouts/default" %} + +{% block content %} + +{% endblock %} diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php index f0cb05b3f..599e98b56 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php @@ -2,8 +2,6 @@ use Anomaly\SettingsModule\Setting\Contract\SettingRepositoryInterface; use Anomaly\Streams\Platform\Http\Controller\PublicController; -use Anomaly\Streams\Platform\Message\MessageBag; -use Anomaly\Streams\Platform\Model\Advs\AdvsAdvsEntryModel; use Anomaly\Streams\Platform\Model\Complaints\ComplaintsComplainTypesEntryModel; use Anomaly\Streams\Platform\Support\Currency; use Anomaly\UsersModule\User\Contract\UserRepositoryInterface; @@ -15,21 +13,15 @@ use Visiosoft\AdvsModule\Adv\AdvModel; use Visiosoft\AdvsModule\Adv\Contract\AdvRepositoryInterface; use Visiosoft\AdvsModule\Adv\Event\ChangedStatusAd; use Visiosoft\AdvsModule\Adv\Event\CreatedAd; -use Visiosoft\AdvsModule\Adv\Event\EditAd; use Visiosoft\AdvsModule\Adv\Event\EditedAd; use Visiosoft\AdvsModule\Adv\Event\EditedAdCategory; use Visiosoft\AdvsModule\Adv\Event\PriceChange; -use Visiosoft\AdvsModule\Adv\Event\ShowAdPhone; use Visiosoft\AdvsModule\Adv\Event\ViewAd; use Visiosoft\AdvsModule\Adv\Form\AdvFormBuilder; use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface; use Visiosoft\AdvsModule\OptionConfiguration\Contract\OptionConfigurationRepositoryInterface; use Visiosoft\AdvsModule\OptionConfiguration\OptionConfigurationModel; -use Visiosoft\AdvsModule\Productoption\Contract\ProductoptionRepositoryInterface; -use Visiosoft\AdvsModule\ProductoptionsValue\Contract\ProductoptionsValueRepositoryInterface; -use Visiosoft\CatsModule\Category\CategoryModel; use Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface; -use Visiosoft\FavsModule\Http\Controller\FavsController; use Visiosoft\LocationModule\City\CityModel; use Visiosoft\LocationModule\City\CityRepository; use Visiosoft\LocationModule\Country\Contract\CountryRepositoryInterface; @@ -48,8 +40,6 @@ class AdvsController extends PublicController private $adv_repository; private $optionConfigurationRepository; - private $productOptionRepository; - private $productOptionsValueRepository; private $country_repository; @@ -62,7 +52,6 @@ class AdvsController extends PublicController private $village_model; - private $category_model; private $category_repository; private $requestHttp; @@ -78,8 +67,6 @@ class AdvsController extends PublicController AdvRepositoryInterface $advRepository, OptionConfigurationRepositoryInterface $optionConfigurationRepository, - ProductoptionRepositoryInterface $productOptionRepository, - ProductoptionsValueRepositoryInterface $productOptionsValueRepository, CountryRepositoryInterface $country_repository, @@ -92,7 +79,6 @@ class AdvsController extends PublicController VillageModel $village_model, - CategoryModel $categoryModel, CategoryRepositoryInterface $category_repository, OptionRepositoryInterface $optionRepository, @@ -110,8 +96,6 @@ class AdvsController extends PublicController $this->adv_repository = $advRepository; $this->optionConfigurationRepository = $optionConfigurationRepository; - $this->productOptionRepository = $productOptionRepository; - $this->productOptionsValueRepository = $productOptionsValueRepository; $this->country_repository = $country_repository; @@ -124,7 +108,6 @@ class AdvsController extends PublicController $this->village_model = $village_model; - $this->category_model = $categoryModel; $this->category_repository = $category_repository; $this->settings_repository = $settings_repository; diff --git a/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig b/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig index 6a18a9285..9029b513d 100644 --- a/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig +++ b/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig @@ -1,4 +1,4 @@ -