@php $measures = ['unit' => __('Unit'), 'area' => __('Area (m²)'), 'linear' => __('Linear (m)')]; @endphp
{{ __('Applied to new deliverables.') }}
{{ __('No lines yet, add a cost line or a stock material below.') }}
@endforelse{{ __('Production cost') }}
{{ $baseCode }} {{ number_format($dt['cost'], 2) }}
{{ __('Profit :p%', ['p' => rtrim(rtrim(number_format((float) ($d['profit_pct'] ?? 0), 2), '0'), '.')]) }}
+ {{ number_format($dt['profit'], 2) }}
{{ __('Misc :p%', ['p' => rtrim(rtrim(number_format((float) ($d['misc_pct'] ?? 0), 2), '0'), '.')]) }}
+ {{ number_format($dt['misc'], 2) }}
{{ __('Final price') }}
{{ $baseCode }} {{ number_format($dt['price'], 2) }}
@if ($dt['margin'] !== null){{ __('margin :m%', ['m' => number_format($dt['margin'], 1)]) }}
@endif{{ __('Job total') }}
{{ trans_choice(':count deliverable|:count deliverables', count($deliverables), ['count' => count($deliverables)]) }}{{ $baseCode }} {{ number_format($totals['price'], 2) }}
@if ($totals['margin'] !== null) {{ number_format($totals['margin'], 1) }}% {{ __('GP') }} @endif{{ __('Cost :cur :c · Profit :cur :p', ['cur' => $baseCode, 'c' => number_format($totals['cost'], 2), 'p' => number_format($totals['profit'] + $totals['misc'], 2)]) }}@if ($totals['weight'] > 0) · {{ number_format($totals['weight'], 2) }} kg @endif
{{ __('Customer quote') }}
{{ __('Create quote makes one line per deliverable, each carrying its full cost breakdown.') }}
{{ __('Job additions') }}
{{ __('Actuals pulled live from :job’s cost ledger (incl. production & completion expenses).', ['job' => $rc['job']->job_number]) }}
| {{ __('Category') }} | {{ __('Estimate') }} | {{ __('Actual') }} | {{ __('Variance') }} |
|---|---|---|---|
| {{ __($costCategories[$row['category']] ?? ucfirst($row['category'])) }} | {{ number_format($row['estimate'], 2) }} | {{ number_format($row['actual'], 2) }} | {{ $row['variance'] > 0 ? '+' : '' }}{{ number_format($row['variance'], 2) }} |
| {{ __('Total cost') }} | {{ number_format($rc['estimate_total'], 2) }} | {{ number_format($rc['actual_total'], 2) }} | {{ $rc['variance_total'] > 0 ? '+' : '' }}{{ number_format($rc['variance_total'], 2) }} |
{{ __('Quoted price') }}
{{ $baseCode }} {{ number_format($rc['quoted_price'], 2) }}
{{ __('Actual cost') }}
{{ $baseCode }} {{ number_format($rc['actual_total'], 2) }}
{{ __('Estimated margin') }}
{{ $rc['estimated_margin'] !== null ? number_format($rc['estimated_margin'], 1).'%' : '—' }}
{{ __('Realized margin') }}
{{ $rc['realized_margin'] !== null ? number_format($rc['realized_margin'], 1).'%' : '—' }}