@extends('layouts.master') @section('content')

{{ trans('marketing.Create Bonus') }}

@csrf
{{ Form::label('bonusType', trans('marketing.Bonus Type'), ['class' => 'required']) }} {{ Form::select('bonusType', $bonusTypeList, $bonusType, ['id' => 'bonusType', 'class' => 'form-control select2']) }}
{{ Form::label('bonusCode', trans('marketing.Bonus Code'), ['class' => 'required']) }} {{ Form::text('bonusCode','', ['id' => 'bonusCode', 'class' => 'form-control','maxlength' => 10]) }}
{{ Form::label('bonusDependency', trans('marketing.Bonus Dependency'), ['class' => 'required']) }} {{ Form::text('bonusDependency', $bonusDependency, ['id' => 'bonusDependency', 'class' => 'form-control','readonly' => 'true']) }}
{{ Form::label('bonusDescription', trans('marketing.Bonus Description'), ['class' => 'required']) }} {{ Form::text('bonusDescription', '', ['id' => 'bonusDescription', 'class' => 'form-control']) }}
{{ Form::label('gameType', trans('marketing.game Type'), ['class' => 'required']) }} {{ Form::select('gameType', $gameType, '', ['id' => 'gameType', 'class' => 'form-control select2', 'placeholder' => 'Select','onclick' => 'showTournamentlist()']) }}
{{ Form::label('startDate', trans('marketing.Start Date'), ['class' => 'required']) }} {{ Form::text('startDate', '', ['class' => 'form-control', 'id' => 'startDate', 'readonly' => 'readonly']) }}
{{ Form::label('endDate', trans('marketing.End Date'), ['class' => 'required']) }} {{ Form::text('endDate', '', ['class' => 'form-control', 'id' => 'endDate', 'readonly' => 'readonly']) }}
{{ Form::label('publish', 'Publish', ['class' => 'required']) }} {{ Form::select('publish', $publishList, '', ['id' => 'publish', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('bonusOrder', trans('marketing.Bonus Code Order'), ['class' => 'required']) }} {{ Form::text('bonusOrder', '1', ['id' => 'bonusOrder', 'class' => 'form-control number' ,'maxlength' => 3]) }}
@if($bonusType != 3)
{{ Form::label('applicability', trans('marketing.Applicability Per Player'), ['class' => 'required']) }} {{ Form::text('applicability', '1', ['id' => 'applicability', 'class' => 'form-control number','maxlength' => 4]) }}
{{ Form::label('chipsValidity', trans('marketing.Chips Validity In Days'), ['class' => 'required']) }} {{ Form::text('chipsValidity', '0', ['id' => 'chipsValidity', 'class' => 'form-control number','maxlength' => 3]) }}
{{ Form::label('partner', trans('marketing.Partner Name')) }} {{ Form::select('partner', $partnerList, '', ['id' => 'partner', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
@endif
{{ Form::label('netRake', trans('marketing.Net Rake')) }} {{ Form::text('netRake', '', ['class' => 'form-control', 'id' => 'netRake']) }}
{{ Form::label('Release', trans('marketing.Release %')) }} {{ Form::text('Release', '', ['class' => 'form-control', 'id' => 'Release']) }}

{{ trans('marketing.Frequency Settings') }}

{{ Form::label('frequencyVariation', trans('marketing.Select Variation'), ['class' => 'required']) }}

{{ Form::label('dailyCount', trans('marketing.Daily Count'), ['class' => 'required']) }} {{ Form::select('dailyCount', $dailyCountList, '', ['id' => 'dailyCount', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('maxCab', trans('marketing.Select Week Days'), ['class' => 'required']) }}


@if($bonusType == 2)
{{ Form::label('user', trans('marketing.User')) }} {{ Form::textarea('user', '', ['class' => 'form-control', 'id' => 'user','rows' => 3, 'cols' => 40]) }}
(OR)
Sample File




@endif @if($bonusType != 3)
@php $i=0; @endphp @foreach($rowsData as $rowData) @php ++$i; @endphp @endforeach
{{ trans('marketing.Min P.Amt') }} {{ trans('marketing.Max P.Amt') }} {{ trans('marketing.Bonus%') }} {{ trans('marketing.Max B.Amt') }} {{ trans('marketing.Wager : Relese Ratio') }}
{{ trans('marketing.Bonus split ratio') }}:    
% {{ trans('marketing.Wagering Share') }}
% {{ trans('marketing.Instant cash') }}
@endif @if($bonusType == 3)
@php $i=0; @endphp @foreach($rowsData as $rowData) @php ++$i; @endphp @endforeach
{{ trans('Chunk') }} {{ trans('Instant Amount') }}
{{$i}}
{{ trans('marketing.Chunk Intervals') }}:    
{{ trans('marketing.Select relative time interval') }}:    
{{ Form::select('hour', $hourList, $chunkvalue, ['id' => 'hour', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ trans('marketing.Select days interval') }}:    
{{ Form::select('day', $dayList, $chunkvalue, ['id' => 'day', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}

Sample File



@endif

{{ trans('marketing.Cancel Bonus') }}
@endsection @section('javascript') @include('datatablejs') @stop