added crud for form meeting & seminar

This commit is contained in:
Jagad R R
2024-12-19 10:51:27 +07:00
parent 24b9a82856
commit cd28280fb6
10 changed files with 622 additions and 7 deletions
@@ -60,7 +60,7 @@ class FormUpCountryController extends Controller
$kategori = Kategori::where('name', 'Up Country')->first();
$filePaths = [];
$folderPath = '/expense/' . $region->code . '/' . $cabang->code . '/upcountry/';
$folderPath = '/expense/' . $region->code . '/' . $cabang->code . '/upcountry';
if ($request->hasFile('bukti1')) {
$bukti1 = $request->file('bukti1');
@@ -164,7 +164,7 @@ class FormUpCountryController extends Controller
$kategori = Kategori::where('name', 'Up Country')->first();
$filePaths = [];
$folderPath = '/expense/' . $region->code . '/' . $cabang->code . '/upcountry/';
$folderPath = '/expense/' . $region->code . '/' . $cabang->code . '/upcountry';
if ($request->hasFile('bukti1')) {
$bukti1 = $request->file('bukti1');