ultimatepos/Modules/AssetExchange/Resources/views/appraisals/partials/line_row.blade.php

14 lines
717 B
PHP

<tr>
<td style="padding-right: {{ $depth * 20 }}px;">{{ $line->name }}</td>
<td>{{ $line->line_kind }}</td>
<td>{{ $line->health_percentage !== null ? number_format((float) $line->health_percentage, 1).'%' : '—' }}</td>
<td>{{ $line->renovation_need ?? '—' }}</td>
<td>{{ $aexUtil->formatMoney($line->replacement_cost) }}</td>
<td>{{ $aexUtil->formatMoney($line->renovation_cost) }}</td>
<td>{{ $aexUtil->formatMoney($line->line_as_is_value) }}</td>
<td>{{ $aexUtil->formatMoney($line->line_post_renovation_value) }}</td>
</tr>
@foreach($line->childLines as $child)
@include('assetexchange::appraisals.partials.line_row', ['line' => $child, 'depth' => $depth + 1])
@endforeach