Initial commit for new repo
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 1m4s

This commit is contained in:
dhanabalan
2025-12-16 17:05:04 +05:30
commit 3f0d529640
862 changed files with 141157 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Filament\Resources\StickerMasterResource\Pages;
use App\Filament\Resources\StickerMasterResource;
use Filament\Actions;
use Filament\Resources\Pages\CreateRecord;
use Illuminate\Validation\ValidationException;
class CreateStickerMaster extends CreateRecord
{
protected static string $resource = StickerMasterResource::class;
protected function beforeCreate(): void
{
$errors = [];
if (!empty($this->data['item_error'])) {
throw ValidationException::withMessages([
'item_id' => 'Fix the errors before submitting.',
]);
}
}
protected function getRedirectUrl(): string
{
return $this->getResource()::getUrl('create');
}
}