@extends('layouts.app_settings') @section('title', __('business.business_settings')) @section('offcanvas-title',__('new.reward_point_document')) @section('offcanvas-end') @stop @section('content')
{!! Form::open(['url' => action([\App\Http\Controllers\BusinessController::class, 'postRewardPoint']), 'method' => 'post', 'id' => 'bussiness_edit_form', 'files' => true ]) !!}
{!! Form::text('rp_name', $business->rp_name, ['class' => 'form-control','placeholder' => __('lang_v1.rp_name')]); !!} {!! Form::label('rp_name', __('lang_v1.rp_name') . ':') !!}

@lang('lang_v1.earning_points_setting')

{!! Form::text('amount_for_unit_rp', @num_format($business->amount_for_unit_rp), ['class' => 'form-control input_number','placeholder' => __('lang_v1.amount_for_unit_rp')]); !!} {!! Form::label('amount_for_unit_rp', __('lang_v1.amount_for_unit_rp') . ':') !!}
{!! Form::text('min_order_total_for_rp', @num_format($business->min_order_total_for_rp), ['class' => 'form-control input_number','placeholder' => __('lang_v1.min_order_total_for_rp')]); !!} {!! Form::label('min_order_total_for_rp', __('lang_v1.min_order_total_for_rp') . ':') !!}
{!! Form::number('max_rp_per_order', $business->max_rp_per_order, ['class' => 'form-control','placeholder' => __('lang_v1.max_rp_per_order')]); !!} {!! Form::label('max_rp_per_order', __('lang_v1.max_rp_per_order') . ':') !!}

@lang('lang_v1.redeem_points_setting'):

{!! Form::text('redeem_amount_per_unit_rp', @num_format($business->redeem_amount_per_unit_rp), ['class' => 'form-control input_number','placeholder' => __('lang_v1.redeem_amount_per_unit_rp')]); !!} {!! Form::label('redeem_amount_per_unit_rp', __('lang_v1.redeem_amount_per_unit_rp') . ':') !!}
{!! Form::text('min_order_total_for_redeem', @num_format($business->min_order_total_for_redeem), ['class' => 'form-control input_number','placeholder' => __('lang_v1.min_order_total_for_redeem')]); !!} {!! Form::label('min_order_total_for_redeem', __('lang_v1.min_order_total_for_redeem') . ':') !!}
{!! Form::number('min_redeem_point', $business->min_redeem_point, ['class' => 'form-control','placeholder' => __('lang_v1.min_redeem_point')]); !!} {!! Form::label('min_redeem_point', __('lang_v1.min_redeem_point') . ':') !!}
{!! Form::number('max_redeem_point', $business->max_redeem_point, ['class' => 'form-control', 'placeholder' => __('lang_v1.max_redeem_point')]); !!} {!! Form::label('max_redeem_point', __('lang_v1.max_redeem_point') . ':') !!}
{!! Form::number('rp_expiry_period', $business->rp_expiry_period, ['class' => 'form-control','placeholder' => __('lang_v1.rp_expiry_period')]); !!} {!! Form::label('rp_expiry_period', __('lang_v1.rp_expiry_period') . ':') !!}
{!! Form::select('rp_expiry_type', ['month' => __('lang_v1.month'), 'year' => __('lang_v1.year')], $business->rp_expiry_type, ['class' => 'form-control']); !!}
{!! Form::close() !!}
@stop @section('javascript') @endsection