@extends('admin._layouts.master') @section('content')
@foreach($companies as $company) @endforeach
# İşletme Ort.Günlük Ciro Paket/Ücret/Bakiye Son Eylem Kullanıcı Eylem Tarih
{{ $i++ }} {{ $company->name }} @if($company->beta_version == 1) - BETA @endif @if($company->isSabeeConnected()) - SABEE @endif @if($company->created_at->diffInDays() < 30) - - YENİ - - {{ $company->created_at->diffInDays() }} days ago. @endif @if($company->totalGrossSales > 0) @if($company->averageGrossSales > 10000) {{ number_format($company->averageGrossSales, 0, ',', '.') }}₺ @elseif($company->averageGrossSales > 6000 && $company->averageGrossSales < 10000) {{ number_format($company->averageGrossSales, 0, ',', '.') }}₺ @else {{ number_format($company->averageGrossSales, 0, ',', '.') }}₺ @endif @endif @if(!$company->package) Abonelik yok @else {{ $company->package }} @if($company->subscriptionType === 'prepaid') / Yıllık @endif / {{ number_format($company->price, 0, ',', '.') }}₺ @endif @if(!count($company->creditCards)) / Ödeme yöntemi yok @endif @if($company->outstandingBalance > 0) {{ number_format($company->outstandingBalance, 0, ',', '.') }}₺ @endif {{ $company->activity->printTime('diff') }} @if($company->activity->user) {{ $company->activity->user->fullname }} @endif {{ $company->activity->event }} {{ $company->activity->created_at->format(DATETIME_FORMAT) }}
@endsection