Added sticker generate route in web file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Successful in 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Larastan / larastan (pull_request) Failing after 2m42s
Laravel Pint / pint (pull_request) Failing after 2m51s

This commit is contained in:
dhanabalan
2025-12-22 17:23:29 +05:30
parent c0f1363fd5
commit 09ef1f174c

View File

@@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\PdfController;
use App\Mail\test;
use App\Models\EquipmentMaster;
use App\Models\InvoiceValidation;
@@ -25,6 +26,11 @@ use App\Http\Livewire\CustomLogin;
]);
});
Route::get(
'/stickers/{stickerId}/pdf',
[PdfController::class, 'generate']
)->name('stickers.pdf');
Route::get('/part-validation-image/{plant}/{filename}', function ($plant, $filename) {
$path = storage_path("app/private/uploads/PartValidation/{$plant}/{$filename}");