@extends('backend.layout') @section('content')

{{ ($accounts->currentPage() - 1)*10 + 1 }}-{{ ($accounts->currentPage() - 1)*10 + $accounts->count() }} trong {{ $accounts->total() }} bản ghi.

@if($accounts != null) @foreach($accounts as $stt => $account) @endforeach @endif
STT Tài khoản Dịch vụ Đăng ký ngày Website Thông tin Trạng thái
{{ ($accounts->currentPage() - 1)*$accounts->perPage() + $stt + 1 }} {{ @$account->account->fullname }} {{ @$account->service->name }} {{ $account->created_at->format('Y-m-d') }} {{ $account->type }} Giá dv: {{ $account->type == 'vi' ? $account->service->vi_uds : $account->service->usd }} $ @if($account->status == 'active') Đã thanh toán @else Đã huỷ @endif
{{ $accounts->appends(@$_GET)->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush