EV3-393 Verziováltott teszt - Beszállítói adatbázis
This commit is contained in:
parent
274c5599bb
commit
bfcde03084
@ -12,6 +12,7 @@
|
|||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Http\Response;
|
use Illuminate\Http\Response;
|
||||||
use Illuminate\View\View;
|
use Illuminate\View\View;
|
||||||
|
use Sabberworm\CSS\Value\URL;
|
||||||
|
|
||||||
class SupplierController extends Controller
|
class SupplierController extends Controller
|
||||||
{
|
{
|
||||||
@ -200,6 +201,7 @@ public function edit(int $SupplierId): View|JsonResponse|bool
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$retData = [];
|
$retData = [];
|
||||||
|
$supplierData['logoFile'] = url($supplierData['logoFile']);
|
||||||
$retData['supplierData'] = $supplierData;
|
$retData['supplierData'] = $supplierData;
|
||||||
$retData['testMode'] = ($this->testMode) ? 'true' : 'false';
|
$retData['testMode'] = ($this->testMode) ? 'true' : 'false';
|
||||||
$retData['init'] = false;
|
$retData['init'] = false;
|
||||||
@ -208,6 +210,7 @@ public function edit(int $SupplierId): View|JsonResponse|bool
|
|||||||
$retData['productGroup'] = $productGroupArray;
|
$retData['productGroup'] = $productGroupArray;
|
||||||
$retData['service'] = Service::select('name')->orderBy('name')->get()->toArray();
|
$retData['service'] = Service::select('name')->orderBy('name')->get()->toArray();
|
||||||
$retData['profitCenter'] = ProfitCenter::orderBy('name', 'asc')->get()->toArray();
|
$retData['profitCenter'] = ProfitCenter::orderBy('name', 'asc')->get()->toArray();
|
||||||
|
|
||||||
if (\request()->input('t') == 1) {
|
if (\request()->input('t') == 1) {
|
||||||
echo '<pre>';
|
echo '<pre>';
|
||||||
var_dump($supplierData);
|
var_dump($supplierData);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user