view custom ceil

This commit is contained in:
2024-08-02 13:26:32 +03:00
parent 6d5f6a8665
commit 67a3f5770e
3 changed files with 37 additions and 14 deletions

View File

@ -118,7 +118,7 @@ class ListJsonTable
}
foreach ($row as $key => $ceil) {
if ($this->issetColumn($key) and $this->is_fillable($key)) {
if($this->beforePrintCell) {
if($this->beforePrintCell and $ceil) {
$ceil = $this->getCustomCeil($key, $ceil);
}
$this->html .= "<td>" . $ceil . "</td>";