@extends('layouts.backend.app') @section('content') @include('layouts.backend.partials.headersection',['title'=> $info->name.' Information'])
{{ __('Primary Information') }}
@csrf
{{ __('Other Information') }}
@if(!empty($info->info->content))
@php $json=json_decode($info->info->content); @endphp

{{ __('Contact Phone 1:') }} {{ $json->phone1 ?? '' }}

{{ __('Contact Phone 2:') }} {{ $json->phone2 ?? '' }}

{{ __('City:') }} {{ $info->resturentlocationwithcity->area->title ?? '' }}

{{ __('Location line:') }} {{ $json->full_address ?? '' }}

@endif
{{ __('Order History') }}
@foreach($orders as $row) @endforeach
{{ __('Order ID') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Created at') }} {{ __('View') }}
#{{ $row->id }} @if($row->status == 1) {{ __('Completed') }} @elseif($row->status == 2) {{ __('Pending') }} @elseif($row->status == 3) {{ __('Accepted') }} @elseif($row->status == 0) {{ __('Cancelled') }} @endif {{ $row->total+$row->shipping }} {{ $row->created_at->diffforHumans() }}
{{ __('Order ID') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Created at') }} {{ __('View') }}
{{ $orders->links() }}
{{ __('Overview Of Earnings') }}
  • {{ __('Total Order Completed') }} {{ $total_orders }}
  • {{ __('Total Earnings') }} {{ $total_earning }}
  • {{ __('Current Balance') }} {{ $total_earning-$total_withdraw }}
  • {{ __('Total Withdraws') }} {{ $total_withdraw }}
{{ __('Onesignal History') }}
@foreach($info->Onesignal ?? [] as $row) @endforeach
{{ __('Signal ID') }} {{ __('Register At') }} {{ __('Delete') }}
{{ $row->player_id }} {{ $row->created_at->diffforHumans() }}
{{ __('Signal ID') }} {{ __('Register At') }} {{ __('Delete') }}
{{ __('Transaction History') }}
@foreach($transactions as $row) @endforeach
{{ __('Transection ID') }} {{ __('Amount') }} {{ __('Status') }} {{ __('View') }}
#{{ $row->id }} {{ $row->amount }} @if($row->status==0) {{ __('Canceled') }} @elseif($row->status==1) {{ __('Completed') }} @elseif($row->status==2) {{ __('Processing') }} @endif
{{ __('Transection ID') }} {{ __('Amount') }} {{ __('Status') }} {{ __('View') }}
{{ $transactions->links() }}
@endsection @section('script') @endsection