@extends('admin.layouts.app') @section('title') {{ $module_name }} @endsection @section('content-header')

{{ $module_name }}

@endsection @section('content')
{{-- Search form --}}

@lang('Filter')

@lang('Reset')
{{-- End search form --}}

@lang('List')

@if (session('errorMessage'))
{{ session('errorMessage') }}
@endif @if (session('successMessage'))
{{ session('successMessage') }}
@endif @if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif @if (count($rows) == 0)
@lang('not_found')
@else @foreach ($rows as $item) @endforeach
# @lang('Fullname') @lang('Affiliate code') @lang('Is type') @lang('Order total money') @lang('Affiliate percent') @lang('Affiliate point') @lang('Affiliate money') @lang('Status') @lang('Created at')
{{ $loop->index + $rows->firstItem() }} {{ $item->affiliate_name }} {{ $item->affiliate_code }} @lang($item->is_type) {{ number_format($item->order_total_money) }} {{ $item->affiliate_percent }} % {{ number_format($item->affiliate_point) }} {{ number_format($item->affiliate_money) }} @lang($item->status) {{ \Carbon\Carbon::parse($item->created_at)->format('H:i:s d/m/Y') }}
@endif
@endsection