@extends('layouts.master') @section('title') LT-168 :: ประวัติการทำรายการ @endsection @section('sub_title') ประวัติการทำรายการ @endsection @section('content')

ชื่อ : {{ $user->name }} ({{ $user->username }})

{{-- --}} @foreach ($data as $key => $item) @php if (!$item->amount) continue; @endphp @if ($item->is_credit) {{-- เงินสด --}} {{-- เครดิต --}} @else {{-- เงินสด --}} {{-- เครดิต --}} @endif {{-- --}} @endforeach
# เงินสด เครดิต สถานะ รายละเอียด วันที่ดำเนินการดำเนินการ
{{ $key + 1 }}{{ ($item->amount >= 0 ? '+' : '') . number_format($item->amount, 2) }}{{ ($item->amount >= 0 ? '+' : '') . number_format($item->amount, 2) }}
{{ $item->status === 1 ? 'ปกติ' : 'ยกเลิก' }}
{{ $item->detail }} {{ $item->created_at }}
@endsection @section('scripts') @endsection