Added sticker generate route in web file #35
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use App\Http\Controllers\PdfController;
|
||||||
use App\Mail\test;
|
use App\Mail\test;
|
||||||
use App\Models\EquipmentMaster;
|
use App\Models\EquipmentMaster;
|
||||||
use App\Models\InvoiceValidation;
|
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) {
|
Route::get('/part-validation-image/{plant}/{filename}', function ($plant, $filename) {
|
||||||
$path = storage_path("app/private/uploads/PartValidation/{$plant}/{$filename}");
|
$path = storage_path("app/private/uploads/PartValidation/{$plant}/{$filename}");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user