fixed created_at

This commit is contained in:
vedatakd 2021-01-29 16:46:49 +03:00
parent 8a01f04b1b
commit d1c53460e1
3 changed files with 4 additions and 3 deletions

View File

@ -875,9 +875,6 @@ class AdvsController extends PublicController
->packageAddCart(\request()->pack_id, $adv->id); ->packageAddCart(\request()->pack_id, $adv->id);
} }
} }
$this->event->dispatch(new EditAd($adv));
return redirect('/advs/edit_advs/' . $adv->id); return redirect('/advs/edit_advs/' . $adv->id);
} }

View File

@ -2,4 +2,6 @@
return [ return [
'clean_subcategories' => 'Clean Subcategories', 'clean_subcategories' => 'Clean Subcategories',
'ad_count_calculate' => 'Ad Count Calculate',
'cat_level_calculate' => 'Category Level Calculate',
]; ];

View File

@ -18,9 +18,11 @@ class CategoryTableBuilder extends TableBuilder
'href' => '/admin/cats/clean_subcats', 'href' => '/admin/cats/clean_subcats',
], ],
'adcountcalc' => [ 'adcountcalc' => [
'text' => 'visiosoft.module.cats::view.ad_count_calculate',
'href' => '/admin/cats/adcountcalc', 'href' => '/admin/cats/adcountcalc',
], ],
'catLevelCalc' => [ 'catLevelCalc' => [
'text' => 'visiosoft.module.cats::view.cat_level_calculate',
'href' => '/admin/cats/catlevelcalc', 'href' => '/admin/cats/catlevelcalc',
], ],
]; ];