@php $tabs = [ 'overheads' => __('Labour & Overhead'), 'ink' => __('Ink Pass-Modes'), 'defaults' => __('Costing Defaults'), 'import' => __('Import from Excel'), ]; @endphp
{{ __('Monthly costs are spread to a daily figure (÷ :n working days) and allocated per unit via each product\'s jobs-per-day.', ['n' => $workingDays]) }}
| {{ __('Name') }} | {{ __('Type') }} | {{ __('Monthly') }} | {{ __('Daily') }} | {{ __('Allocation') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
| {{ $oc->name }} @if ($oc->isSourcedFromActuals()) {{ __('actuals: :c', ['c' => $oc->expenseCategory?->name ?? __('expenses')]) }} @endif |
|
{{ number_format($oc->effectiveMonthlyCost(), 2) }} @if ($oc->isSourcedFromActuals()) {{ __('manual: :m', ['m' => number_format((float) $oc->monthly_cost, 2)]) }} @endif | {{ number_format($oc->dailyCost($workingDays), 2) }} | {{ str_replace('_', ' ', $oc->allocation_basis) }} |
@if ($canManage)
|
|
|
|||||
{{ __('Cost/m² = ml/m² × ink cost per ml (:c) × (1 + waste :w%).', ['c' => number_format($inkCostPerMl, 4), 'w' => rtrim(rtrim(number_format($inkWastePct, 2), '0'), '.')]) }}
| {{ __('Mode') }} | {{ __('ml / m²') }} | {{ __('Cost / m²') }} | {{ __('Actions') }} |
|---|---|---|---|
| {{ $im->name }} | {{ rtrim(rtrim(number_format((float) $im->ml_per_sqm, 2), '0'), '.') }} | {{ number_format($im->costPerSqm($inkCostPerMl, $inkWastePct), 2) }} |
@if ($canManage)
|
|
|
|||
{{ __('Used to spread overheads to daily costs, price ink, and pre-fill new products.') }}
{{ __('Pre-fills throughput on new products so auto-seeded overhead allocates sensibly.') }}
{{ __('Paste the shareable link (or id) of the directors\' costing sheet. Enables one-click sync on the Import tab. The sheet must be shared as “anyone with the link”.') }}
{{ __('Seeds the rate master (labour, overhead, ink, exchange) and creates products with prices, DTF/EMB methods and quantity tiers. The Large Format (LFP) matrix also imports as a full per-component recipe. Re-running updates existing records (matched by name).') }}
@if ($canManage) {{-- One-click Google Sheets sync --}}@if ($google_costing_sheet_id !== '') {{ __('Pulls the live workbook straight from your saved Google Sheet link, no download needed.') }} @else {{ __('Add the Google Sheet link on the Costing Defaults tab to enable one-click sync.') }} @endif
{{ __('Or upload a file') }}
{{ $stat['value'] }}
{{ $stat['label'] }}
⚠ {{ $n }}
@endforeach{{ __('When linked, the monthly figure is taken live from this category\'s recurring expenses, so product costing always tracks real spend. The manual amount is kept as a fallback.') }}