Exemplo n.º 1
0
 public function bootstrap()
 {
     $this->theme->registerViewPath(__DIR__ . '/Views/', 'Shop/Reports/CustomersExpiredCarts/Views');
     // Register any custom routes that the report needs
     $this->app->route('GET /admin/shop/reports/' . $this->slug() . '/purge-expired', '\\' . __CLASS__ . '->purgeExpired');
     $this->app->route('GET /admin/shop/reports/' . $this->slug() . '/deleteCart/@cart_id', '\\' . __CLASS__ . '->deleteCart');
     return parent::bootstrap();
 }
Exemplo n.º 2
0
 public function bootstrap()
 {
     $this->theme->registerViewPath(__DIR__ . '/Views/', 'Shop/Reports/OrdersByCouponCode/Views');
     return parent::bootstrap();
 }