mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-18 17:38:41 +00:00
autofixes
This commit is contained in:
parent
eb25681cbb
commit
bedb4ae390
|
|
@ -240,7 +240,6 @@ final class BackendController extends Controller
|
||||||
->where(SupplierMapper::HAS_MANY['files']['self'], '=', $supplier->id)
|
->where(SupplierMapper::HAS_MANY['files']['self'], '=', $supplier->id)
|
||||||
->where(MediaTypeMapper::TABLE . '.' . MediaTypeMapper::getColumnByMember('name'), '=', 'supplier_profile_image');
|
->where(MediaTypeMapper::TABLE . '.' . MediaTypeMapper::getColumnByMember('name'), '=', 'supplier_profile_image');
|
||||||
|
|
||||||
|
|
||||||
$clientImage = MediaMapper::get()
|
$clientImage = MediaMapper::get()
|
||||||
->with('types')
|
->with('types')
|
||||||
->where('id', $results)
|
->where('id', $results)
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
</label>
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($suppliers as $key => $value) : ++$count;
|
<?php $count = 0; foreach ($suppliers as $key => $value) : ++$count;
|
||||||
$url = UriFactory::build('{/base}/purchase/supplier/profile?{?}&id=' . $value->id);
|
$url = UriFactory::build('{/base}/purchase/supplier/profile?{?}&id=' . $value->id);
|
||||||
?>
|
?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a>
|
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,8 @@ $countries = \phpOMS\Localization\ISO3166NameEnum::getConstants();
|
||||||
* @var \Modules\SupplierManagement\Models\Supplier $supplier
|
* @var \Modules\SupplierManagement\Models\Supplier $supplier
|
||||||
*/
|
*/
|
||||||
$supplier = $this->data['supplier'];
|
$supplier = $this->data['supplier'];
|
||||||
$notes = $supplier->notes;
|
$notes = $supplier->notes;
|
||||||
$files = $supplier->files;
|
$files = $supplier->files;
|
||||||
|
|
||||||
$supplierImage = $this->getData('supplierImage') ?? new NullMedia();
|
$supplierImage = $this->getData('supplierImage') ?? new NullMedia();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user