upgrade to filament v4

This commit is contained in:
Jp
2026-02-19 01:26:02 +08:00
parent 90c92650b7
commit b95f23f223
122 changed files with 3615 additions and 3379 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Actions\Sales;
use Exception;
use App\Actions\Transactions\CreateRecordTransactionsAction;
use App\Commands\Sales\CreateSaleCommand;
use App\Commands\Series\CreateSeriesCommand;
@@ -44,9 +45,9 @@ class CreateSaleAction
]);
DB::commit();
} catch (\Exception $exception) {
} catch (Exception $exception) {
DB::rollBack();
throw new \Exception('Failed to save transactions : '.$exception->getMessage());
throw new Exception('Failed to save transactions : '.$exception->getMessage());
}
return $record;