fixed auto add customer into tahesab
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Console\MigrateCommand;
|
||||
use App\Models\Customer;
|
||||
use App\Observers\CustomerObserver;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Illuminate\Database\Migrations\MigrationRepositoryInterface;
|
||||
use Illuminate\Database\MigrationServiceProvider;
|
||||
@@ -40,6 +42,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
Customer::observe(CustomerObserver::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user