dbmsv4/app/Cells/Equipment/CHASSISCell.php
2025-12-04 16:51:08 +09:00

22 lines
473 B
PHP

<?php
namespace App\Cells\Equipment;
class CHASSISCell extends EquipmentCell
{
public function __construct()
{
parent::__construct(service('part_chassisservice'));
}
public function stock(array $params): string
{
$template = array_key_exists('template', $params) ? $params['template'] : 'stock';
return view('cells/chassis/' . $template, [
'partCellDatas' => [
'entities' => $this->getService()->getEntities(),
],
]);
}
}