dbmsv4/app/Cells/Part/CHASSISCell.php
2025-12-04 14:06:36 +09:00

24 lines
503 B
PHP

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