@extends('layout.app', ['title' => 'Thanh toán']) @push('style') @vite(['resources/css/layout/banner_main.css', 'resources/css/payment.css', 'resources/css/landing.css', 'resources/css/students/student.css']) @endpush @php @endphp @section('content')
@include('layout.landing_banner', [ 'title' => 'thanh toán', 'description' => 'Chi tiết thông tin thanh toán của bạn!', ])
@csrf @if (session()->has('error'))
{{ session('error') }}
@endif @if (session()->has('message'))
{{ session('message') }}
@endif
Hỗ trợ thanh toán nhanh
Chọn phương thức thanh toán

{{ $online_learning->name }}

Giáo viên: {{ $online_learning->user->fullname }}
Môn: {{ isset($online_learning->subject_id) ? $online_learning->subject->name : $online_learning->subject_name }}, Lớp: {{ $online_learning->grade->code_name }}
Thời gian học: {{ getFormatDateRange($online_learning->start_day, $online_learning->end_day) }}
Lịch học: {{ getLabelByTeacherSchedules($online_learning->teaching_day) }} ({{ getLabelTimeRange($online_learning->start_time, $online_learning->end_time) }})
{{-- @if ($online_learning->price == 0)

Miễn phí

@else

{{ number_format($online_learning->price, 0, '.', ',') }} vnd

@endif --}}

{{ number_format($online_learning->price, 0, '.', ',') }} vnd

Số tiền cần thanh toán

@endsection @push('script') @vite(['resources/js/landing.js', 'resources/js/payment.js', 'resources/js/students.js']) @endpush