mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-18 17:38:41 +00:00
formatting fixes, bug fixes and support impl.
This commit is contained in:
parent
e60e0546d2
commit
582ce1e61d
|
|
@ -490,7 +490,7 @@ final class ApiController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$uploaded = $this->app->moduleManager->get('Media')->uploadFiles(
|
$uploaded = $this->app->moduleManager->get('Media')->uploadFiles(
|
||||||
$request->getData('name') ?? '',
|
[$request->getData('name') ?? ''],
|
||||||
$uploadedFiles,
|
$uploadedFiles,
|
||||||
$request->header->account,
|
$request->header->account,
|
||||||
__DIR__ . '/../../../Modules/Media/Files/Modules/SupplierManagement/' . ($request->getData('supplier') ?? '0'),
|
__DIR__ . '/../../../Modules/Media/Files/Modules/SupplierManagement/' . ($request->getData('supplier') ?? '0'),
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ SupplierAttributeTypeL11n $l11n;
|
||||||
{
|
{
|
||||||
if ($l11n instanceof SupplierAttributeTypeL11n) {
|
if ($l11n instanceof SupplierAttributeTypeL11n) {
|
||||||
$this->l11n = $l11n;
|
$this->l11n = $l11n;
|
||||||
} elseif ($this->l11n instanceof SupplierAttributeTypeL11n) {
|
} elseif (isset($this->l11n) && $this->l11n instanceof SupplierAttributeTypeL11n) {
|
||||||
$this->l11n->title = $l11n;
|
$this->l11n->title = $l11n;
|
||||||
} else {
|
} else {
|
||||||
$this->l11n = new SupplierAttributeTypeL11n();
|
$this->l11n = new SupplierAttributeTypeL11n();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user