@extends('admin.layouts.master') @section('title', 'استهلاك المواد الخام') @section('page-header') @include('admin.reports._header', [ 'title' => 'استهلاك المواد الخام', 'subtitle' => 'تحليل استهلاك الورق والزنكات والأحبار للتخطيط الدقيق', 'icon' => 'ti-truck-loading', 'color' => 'info', ]) @endsection @section('content') @include('admin.reports._filters', ['from'=>$from, 'to'=>$to, 'showCompare'=>false])
| الصنف | الجرامية | المقاس | الطلبات | الوحدات المنتجة | فرخات مستخدمة | فرخات فاقد | % فاقد | التكلفة |
|---|---|---|---|---|---|---|---|---|
| {{ $p->paperItem?->name ?? 'غير محدد' }} {{ $p->paperItem?->code }} |
{{ $p->paperItem?->paper_weight ? $p->paperItem->paper_weight.' جم' : '-' }} | {{ $p->paperItem?->paper_size ?? '-' }} | {{ $p->orders_count }} | {{ number_format($p->units_produced) }} | {{ number_format($p->total_sheets) }} | {{ number_format($p->total_waste) }} | {{ $wastePct }}% | {{ number_format($cost, 2) }} |
| لا يوجد استهلاك في هذه الفترة | ||||||||
| نوع الطباعة | عدد الوحدات | الفرخات | الزنكات |
|---|---|---|---|
| {{ ['offset'=>'أوفست','digital'=>'ديجيتال','flex'=>'فلكس','packaging'=>'تغليف'][$row->printing_type] ?? $row->printing_type }} | {{ number_format($row->units) }} | {{ number_format($row->sheets) }} | {{ number_format($row->plates) }} |