dbmsv4/app/Cells/Part/DISKCell.php
2025-11-20 17:27:03 +09:00

28 lines
773 B
PHP

<?php
namespace App\Cells\Part;
use App\Services\Part\DISKService;
class DISKCell extends PartCell
{
public function __construct()
{
parent::__construct(service('part_diskservice'));
}
public function stock(array $params): string
{
$this->getService()->action_init_process(__FUNCTION__);
$template = array_key_exists('template', $params) ? $params['template'] : 'disk_stock';
return view('cells/part/' . $template, [
'partCellDatas' => [
'helper' => $this->getService()->getHelper(),
'formFilters' => $this->getService()->getFormService()->getFormFilters(),
'formOptions' => $this->getService()->getFormService()->getFormOptions(),
'entities' => $this->getService()->getEntities(),
],
]);
}
}