{{ __('inventory::modules.reports.batch_cogs.title') }}

{{-- Filters --}}
{{-- Summary --}}
@lang('inventory::modules.batchRecipe.quantity')
{{ number_format($summary['total_quantity'] ?? 0, 2) }}
@lang('inventory::modules.reports.cogs.total_cost')
{{ currency_format($summary['total_cost'] ?? 0, restaurant()->currency_id) }}
{{-- Table --}}
@forelse($rows as $consumption) @empty @endforelse
@lang('inventory::modules.batchRecipe.batchName') @lang('inventory::modules.batchRecipe.quantity') @lang('inventory::modules.batchRecipe.createdOn') @lang('inventory::modules.reports.cogs.total_cost')
{{ $consumption->batchStock->batchRecipe->name ?? '-' }}
{{ $consumption->batchStock->batchRecipe->yieldUnit->name ?? '' }}
{{ number_format($consumption->quantity, 2) }} {{ $consumption->batchStock->batchRecipe->yieldUnit->symbol ?? '' }} {{ $consumption->created_at->timezone(timezone())->format('Y-m-d H:i') }} {{ currency_format($consumption->cost, restaurant()->currency_id) }}
@lang('inventory::modules.batchRecipe.noBatchStockFound')
{{ $rows->links() }}