@extends('layouts.app') @section('css') @endsection @section('content')
@if ($message = Session::get('success'))
{{ $message }}
@endif
{{ __('Kode Referal') }}
Excel Per Page @if ($customers_data == null) Excel All @endif Kembali
@if ($customers_data != null)
Nama Customer: {{$customers_data->nama_customer}}
@endif @if ($customers_data == null) @endif @php $i = 1; @endphp @foreach($data as $ref) @if ($customers_data == null) @php $formating = substr_replace($ref->nomor_member, '-', 4, 0) @endphp @endif @endforeach
NoNama Customer Nomor MemberKode Referal Jumlah Pengguna Kode Lihat Pengguna
{{$i++}}{{$ref->nama}}{{substr_replace($formating, '-', 9, 0)}}{{$ref->kode}} {{number_format($ref->jumlah, 0, ',', '.')}}
@endsection @section('js') @endsection @push('js_in') @endpush