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

{{ __('Average Delevery Time:') }} {{ $info->delivery->content ?? '' }}

{{ __('Average Pickup Time:') }} {{ $info->pickup->content ?? '' }}

{{ __('Support Email 1:') }} {{ $json->email1 ?? '' }}

{{ __('Support Email 2:') }} {{ $json->email2 ?? '' }}

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

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

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

{{ __('Address line:') }} {{ $json->address_line ?? '' }}

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

{{ __('Subscription Plan :') }} {{ $info->usersaas->name ?? '' }}

@endif
{{ __('Order History') }}
@foreach($orders as $row) @endforeach
{{ __('Order ID') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Type') }} {{ __('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 }} @if($row->order_type == 1) {{ __('Home Delivery') }} @else {{ __('Pickup') }} @endif {{ $row->created_at->diffforHumans() }}
{{ __('Order ID') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Type') }} {{ __('Created at') }} {{ __('View') }}
{{ $orders->links() }}
{{ __('Overview Of Earnings') }}
  • {{ __('Amount Of Sell') }} {{ $total_amount }}
  • {{ __('Commission') }} {{ $total_commission }}
  • {{ __('Earnings') }} {{ $total_amount-$total_commission }}
{{ __('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