@extends('_version_02.commons.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_02.commons.layouts.partials._alert') @include('_version_02.billings.ar_payment_receiveds.partials._hidden_variable')

Membership Renewal

Membership Renewal Application

{!!Form::select('product_id', App\Product::membership_combobox(), $leaf_product_id , ['class'=>'form-control','onchange'=>'init_membership_info_by_leaf_product_id(this, "sales")'])!!}
{!!$errors->first('product_id', '')!!}

Annual fee : RM

Membership renewal application require staff to verify.

Email will be sent once application is approved , you can get your mobile apps for latest information.

{!! Form::select('country_id', App\Country::combobox(), null, ['class'=>'form-control','onchange'=>'init_state_selectbox(this)']) !!} {!!$errors->first('country_id', '')!!}
{!! Form::select('state_id', App\State::combobox(old('country_id') ? old('country_id'):$model->country_id), null, ['class'=>'form-control','onchange'=>'init_city_selectbox(this)']) !!} {!!$errors->first('state_id', '')!!}
{!! Form::select('city_id', App\City::combobox(old('state_id') ? old('state_id'):$model->state_id), null, ['class'=>'form-control']) !!} {!!$errors->first('city_id', '')!!}

Review Application

Members

@if(isset($membership['id'])) @foreach($membership->items as $member) @endforeach @endif
Image Name Identity Card No. Email Action
icon {{$member['name']}} {{$member['ic']}} {{$member['email']}}
Add @include('_version_02.billings.ar_payment_receiveds.partials._add_new_member_modal')
Summary [RM]
Sub Total {{$model['amount']}}
Discount -
Tax -
To Pay {{$model['amount']}}

Payment Method


Choose payment method

Online Transfer
We are using Molpay as payment gateway for online payment. card

The most common alternative payment methods are debit cards, charge cards, prepaid cards, direct debit, bank transfers, phone and mobile payments, checks, money orders and cash payments.

We accept card card
{!! Form::label('payment_method', App\Language::trans('Payment Method'), ['class'=>'control-label col-md-12']) !!}
{!! Form::select('payment_method', App\Setting::payment_method(), null, ['class'=>'form-control','autofocus','required' , 'onchange'=>'change_payment_label_text_by_payment_method(this)']) !!} {!!$errors->first('payment_method', ' ')!!}
{!! Form::label('doc_payment_no_ref_no', App\Language::trans('Reference No.'), ['id'=>'doc_payment_no_ref_no', 'class'=>'control-label col-md-12']) !!}
{!! Form::text('reference_no', null, ['class'=>'form-control','autofocus','required']) !!} {!!$errors->first('reference_no', ' ')!!}
Payment details will be saved securely as per industry standard

Summary

Application Summary

Sub Total {{$model['amount']}}
Tax -
Paid {{$model['amount']}}

Prime shipping benifits have been applied to your order. Rewards points will be charged when you placed your order.

Generate Receipt As a member, you agree to our terms and conditions to use.
{!! Form::close() !!} @endsection @section('script') var customerInfoUrl = "{{action('CustomersController@getInfo')}}"; var productInfoByLeafProductIdUrl = "{{action('ProductsController@getInfoByLeafProductId')}}"; function init_membership_info_by_leaf_product_id(me, type) { $.get(productInfoByLeafProductIdUrl, {product_id:$(me).val()}, function(fdata){ product = fdata.data; alert(product); //$('#lbl_product_name').html(product.description); $('#lbl_product_amount').html(product.amount); $('#summary_total_amount').html(product.amount); $('#btn_payment').html('Pay '+product.amount); $('#summary_sub_total').html(product.amount); $('#summary_total').html(product.amount); $('#member_payable_amount').html(product.amount); $('#member_sub_total').html(product.amount); },"json"); } @endsection