mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-01-11 17:28: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(MediaTypeMapper::TABLE . '.' . MediaTypeMapper::getColumnByMember('name'), '=', 'supplier_profile_image');
|
||||
|
||||
|
||||
$clientImage = MediaMapper::get()
|
||||
->with('types')
|
||||
->where('id', $results)
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ echo $this->data['nav']->render(); ?>
|
|||
</label>
|
||||
<tbody>
|
||||
<?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; ?>">
|
||||
<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
|
||||
*/
|
||||
$supplier = $this->data['supplier'];
|
||||
$notes = $supplier->notes;
|
||||
$files = $supplier->files;
|
||||
$notes = $supplier->notes;
|
||||
$files = $supplier->files;
|
||||
|
||||
$supplierImage = $this->getData('supplierImage') ?? new NullMedia();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user