PATH:
home
/
lab2454c
/
costbloc.com
/
app
/
Http
/
Controllers
/
Vendor
<?php /** * @package ImportController * @author TechVillage <support@techvill.org> * @contributor Muhammad AR Zihad <[zihad.techvill@gmail.com]> * @created 20-12-2022 */ namespace App\Http\Controllers\Vendor; use App\Http\Controllers\Controller; use App\Services\Import\VendorProductImportService as ProductImportService; use Illuminate\Http\Request; class ImportController extends Controller { public function productImport(Request $request) { if ($request->isMethod('get')) { return view('vendor.epz.import.product'); } $importer = new ProductImportService($request); if (!$importer->process()) { $response = $this->messageArray($importer->getError(), 'fail'); $this->setSessionValue($response); return redirect()->back(); } return $importer->getResponse(); } }
[-] ImportController.php
[edit]
[-] WithdrawalController.php
[edit]
[-] ExportController.php
[edit]
[+]
..
[-] VendorTransactionController.php
[edit]
[-] ReviewController.php
[edit]
[-] VendorController.php
[edit]
[-] VendorOrderController.php
[edit]
[-] ProductController.php
[edit]
[-] DashboardController.php
[edit]