@extends('layouts.master') @section('title') LT-99 :: จัดการเครดิตของเอเยนต์ @endsection @section('sub_title') จัดการเครดิตของเอเยนต์ @endsection @section('content')

รายชื่อสมาชิก Agent

@if (!is_null($credit) && !Auth::user()->isAdmin()) เครดิตคงเหลือ: {{ number_format($credit) }} @endif
@php $i = 0; @endphp @if ($users->count()) @foreach ($users as $key => $user) @endforeach @else @endif
# ชื่อผู้ใช้ ชื่อ - นามสกุล เครดิต เครดิตตั้งต้น รวม จัดการเครดิต ประวัติ
{{ ++$i }} {{ $user->username }} {{ $user->name }} {{ number_format($user->wallet()->where('is_credit', 1)->sum('amount'), 2) }} THB {{ number_format($user->wallet()->where('is_credit', 0)->sum('amount'), 2) }} THB {{ number_format($user->wallet()->sum('amount'), 2) }} THB

ไม่พบข้อมูล

@endsection @section('scripts') @endsection