@extends('layouts.main-layout') @section('content-header')

MB Offers Management

@endsection @section('body') @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Manage MB Offers

@foreach($offers as $offer) @csrf @endforeach
Operator gb Amount Price (рз│) Actions

Add New Offer
@csrf
{{-- Orders Section --}}

Orders

@foreach ($orders as $key => $order) @endforeach
# User Offer GB Price Mobile Number Status Time Action
{{ $key + 1 }} {{ $order->user->name ?? 'N/A' }} {{ $order->offer->operator ?? 'N/A' }} {{ $order->offer->mb_amount ?? '-' }} GB ৳{{ $order->offer->price ?? '-' }} {{ $order->mobile_number }} @if ($order->status == 'pending') Pending @elseif ($order->status == 'approved') Approved @else Rejected @endif @if ($order->status === 'pending')
@csrf
@csrf
@else No Action @endif
{{-- DataTables Scripts --}} @endsection