@extends('layouts.admin') @section('title', ucfirst($section)) @section('content')
Select the provider driver and enter credentials supplied by your SMS vendor. Never share API secrets publicly.
| ID | @if($section==='customers')Name | Phone | Status | @elseif($section==='packages')Name | Price | Duration | Speed (down/up kbps) | Active | @elseif($section==='routers')Name | Host | API Port | Area | Active | @elseOrder | Customer ID | Amount | Provider | Status | Paid At | @endifActions | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->id }} | @if($section==='customers'){{ $item->name ?: '—' }} | {{ $item->phone }} | {{ $item->email ?: '—' }} | {{ $item->status }} | @elseif($section==='packages'){{ $item->name }} | ৳{{ number_format((float)$item->price,2) }} | {{ $item->duration_value }} {{ $item->duration_unit }} | {{ $item->download_speed_kbps??'∞' }} / {{ $item->upload_speed_kbps??'∞' }} | {{ $item->is_active?'Yes':'No' }} | @elseif($section==='routers'){{ $item->name }} | {{ $item->host }} | {{ $item->api_port }} | {{ $item->area ?: '—' }} | {{ $item->is_active?'Yes':'No' }} | @else{{ $item->order_id }} | {{ $item->customer_id }} | ৳{{ number_format((float)$item->amount,2) }} | {{ $item->provider }} | {{ $item->status }} | {{ $item->paid_at ?: '—' }} | @endif@if(in_array($section,['customers','packages','routers']))Edit@elseRead only@endif |
| No records found. | |||||||||||||||||||||