Added sticker generate route in web file #35

Merged
jothi merged 1 commits from ranjith-dev into master 2025-12-22 11:53:40 +00:00
Showing only changes of commit 09ef1f174c - Show all commits

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}");