@extends('layouts.app')
@section('title', __('gym::lang.subscription'))
@section('content')
@include('gym::layouts.nav')
{!! Form::open([
'url' => action([\Modules\Gym\Http\Controllers\SubscriptionController::class, 'store']),
'method' => 'post',
'id' => 'create_subscription',
]) !!}
@lang('lang_v1.billing_address'):
{!! $contact->contact_address ?? '' !!}
{!! Form::label('package_id', __('gym::lang.packages') . ':*') !!}
{!! Form::label('start_date', __('gym::lang.start_date') . ':') !!}
{!! Form::text('start_date', null, [
'class' => 'form-control date_picker',
'readonly',
'required',
'id' => 'start_date',
]) !!}
{!! Form::label('end_date', __('gym::lang.end_date') . ':') !!}
{!! Form::text('end_date', null, [
'class' => 'form-control',
'readonly',
'required',
'id' => 'end_date',
]) !!}
@component('components.widget')
@lang('gym::lang.summary')
@lang('gym::lang.package_name') :
@lang('gym::lang.package_price') :
@lang('gym::lang.discount') :
@format_currency(0)
{!! Form::number('discount_percent', null, [
'class' => 'form-control',
'id' => 'discount_percent',
'placeholder' => __('gym::lang.discount'),
]) !!}
@lang('gym::lang.total'):
@format_currency(0)
@endcomponent
@component('components.widget')
@include('hms::partials.payment_row_form', [
'row_index' => 0,
'show_date' => true,
'show_denomination' => true,
])
@lang('lang_v1.change_return'):
0
{!! Form::hidden('change_return', $change_return['amount'], [
'class' => 'form-control change_return input_number',
'required',
'id' => 'change_return',
]) !!}
@if (!empty($change_return['id']))
@endif
@if (!empty($accounts))
@endif
@include('hms::partials.payment_type_details', [
'payment_line' => $change_return,
'row_index' => 'change_return',
])
@lang('lang_v1.balance'): 0.00
@endcomponent
{!! Form::close() !!}
@endsection
@section('javascript')
@endsection