@extends('layouts.admin') @section('title', 'B2C Partner') @section('content') @include('admin.b2c-partners._nav') @if($newCredentials)
{{ $newCredentials['client_id'] }}{{ $newCredentials['client_secret'] }}{{ $newCredentials['api_key'] }}| Voucher | Env | Channel | Package | Travel | Amount | Status | Core booking |
|---|---|---|---|---|---|---|---|
| {{ $b->voucher_no }} | {{ $b->is_sandbox ? 'sandbox' : 'live' }} | {{ $b->channel }} | {{ $b->package?->title }} | {{ $b->travel_date?->format('d M Y') }} | {{ $b->amount_confirmed }} | @include('b2c.partials.status', ['status' => $b->status]) | @if($b->booking_id)#{{ $b->booking_id }}@else — @endif |
| No bookings yet. | |||||||
{{ $client->client_id }}| {{ $tx->transaction_date?->format('d M') }} | {{ \App\Models\B2cWalletTransaction::CATEGORIES[$tx->category] ?? $tx->category }} {{ $tx->reference_no }} |
{{ $tx->type === 'credit' ? '+' : '−' }}{{ $tx->amount }} |
| No transactions. |