mirror of
https://github.com/Karaka-Management/oms-Shop.git
synced 2026-01-11 18:48:41 +00:00
reload client
This commit is contained in:
parent
ae9eea5c94
commit
8215a37ee9
|
|
@ -237,6 +237,16 @@ final class ApiController extends Controller
|
||||||
$internalRequest->setData('unit', $request->getDataInt('unit'));
|
$internalRequest->setData('unit', $request->getDataInt('unit'));
|
||||||
|
|
||||||
$this->app->moduleManager->get('ClientManagement', 'Api')->apiClientCreate($internalRequest, $internalResponse);
|
$this->app->moduleManager->get('ClientManagement', 'Api')->apiClientCreate($internalRequest, $internalResponse);
|
||||||
|
|
||||||
|
/** @var \Modules\ClientManagement\Models\Client $client */
|
||||||
|
$client = ClientMapper::get()
|
||||||
|
->with('mainAddress')
|
||||||
|
->with('attributes')
|
||||||
|
->with('attributes/type')
|
||||||
|
->with('attributes/value')
|
||||||
|
->with('account')
|
||||||
|
->where('account', $request->header->account)
|
||||||
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
$paymentInfoMapper = PaymentMapper::getAll()
|
$paymentInfoMapper = PaymentMapper::getAll()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user