@extends('layouts.adminlte.adminlte')
@section('title')
Payments
@endsection
@section('content_header')
@parent
Payments
@endsection
@section('modals')
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
@endif
@endsection
@section('payments_list_table')
| Order date |
Order ID |
@if (in_array(auth()->user()->user_type, ['agent', 'admin', 'manager']))
State |
Agent Comm. |
@endif
@if (in_array(auth()->user()->user_type, ['admin', 'manager', 'seller']))
Total Comm. |
Seller Comm. |
@endif
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
Seller |
@endif
@if (in_array(auth()->user()->user_type, ['agent', 'admin']))
Manager |
@endif
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
Agent |
Agent Paypal |
@endif
Product Name |
Order n. |
@if (in_array(auth()->user()->user_type, ['agent', 'admin', 'manager']))
Payment date |
@endif
@endsection
@section('payments_table_agents')
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
| Agent ID |
Agent |
Telegram |
Paypal |
N. orders |
Total |
Paid |
To be paid |
Feedback |
Last pay |
Last login |
@endif
@endsection
@section('payments_table_sellers')
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
| Seller ID |
Seller |
Telegram |
Wechat |
N. orders |
Total |
Paid |
To be paid |
Feedback |
Last pay |
Last login |
@endif
@endsection
@section('payments_table_sellers_only')
@if (auth()->user()->user_type == 'seller')
| Manager |
Paypal |
Telegram |
Wechat |
N. orders |
Total |
Paid |
To be paid |
Feedback |
Last pay |
@endif
@endsection
@section('boxes')
@if (in_array(auth()->user()->user_type, ['seller', 'agent']))
0 €
Orders to be paid in €
@elseif (in_array(auth()->user()->user_type, ['admin', 'manager']))
0
Agents orders to be paid
0 €
Agents orders to be paid in €
0
To Receive Sellers Orders
0 €
To Receive Sellers Orders in €
@endif
@endsection
@section('content')
@yield('modals')
@yield('boxes')
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
@else
@if (auth()->user()->user_type == 'seller')
@else
@endif
@endif
@endsection
@section('css')
@parent
@endsection
@section('js')
@parent
{{-- modals js --}}
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
@endif