@extends('layouts.master') @section('title', 'Annual Report') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header') @include('layouts.title')
Export PDF Export Excel
ของใน Stock ยอดเบิก ยอดคืน รวมทั้งหมด (เบิก - คืน)
{{ number_format($stock) }} {{ number_format($totalWithdraw) }} {{ number_format($totalReturn) }} {{ number_format($totalWithdraw - $totalReturn) }}
กราฟเปรียบเทียบยอดเบิก-คืนรายเดือน
{{-- โหลด Chart.js --}}
รายการสินค้าเบิก-คืนแยกตามเดือน (ถ้ามี)
@foreach ($monthlyDetails as $month => $data) @endforeach
เดือน ยอดเบิก ยอดคืน สุทธิ (เบิก - คืน)
{{ \Carbon\Carbon::create()->month($month)->format('F') }} {{ number_format($data['withdraw']) }} {{ number_format($data['return']) }} {{ number_format($data['net']) }}
@include('layouts.footer') @endsection