fixed auto add customer into tahesab

This commit is contained in:
2026-06-27 22:10:29 +03:30
parent 58b55b920a
commit e21e97988c
4 changed files with 127 additions and 28 deletions
+3 -1
View File
@@ -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);
}
}