@extends('layouts.master') @section('content') @if($pageType == 'View') @endif

{{ trans('marketing.'.$pageType.' Bonus') }}

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

@csrf {{ Form::hidden('id', $hidden) }} {{ Form::hidden('campaignType', $campaignType) }}
{{ Form::label('campaignType', trans('marketing.Campaign Type'), ['class' => 'required']) }} {{ Form::select('campaignType', $campaignTypeList, $campaignType, ['id' => 'campaignType', 'class' => 'form-control', 'placeholder' => 'Select']) }}
{{ Form::label('partner', trans('marketing.Partner Name'), ['class' => 'required']) }} {{ Form::select('partner', $partnerList, $partner, ['id' => 'partner', 'class' => 'form-control', 'placeholder' => 'Select']) }}
{{ Form::label('campaignCode', trans('marketing.Campaign Code'), ['class' => 'required']) }} {{ Form::text('campaignCode', $campaignCode, ['id' => 'campaignCode', 'class' => 'form-control']) }}
{{ Form::label('campaignName', trans('marketing.Campaign Name'), ['class' => 'required']) }} {{ Form::text('campaignName', $campaignName, ['id' => 'campaignName', 'class' => 'form-control']) }}
{{ Form::label('status', trans('marketing.Campaign Status'), ['class' => 'required']) }} {{ Form::select('status', $statusList, $status, ['id' => 'status', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('publish', 'Publish', ['class' => 'required']) }} {{ Form::select('publish', $publishList, $publish, ['id' => 'publish', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('campaignDescription', trans('marketing.Campaign Description'), ['class' => 'required']) }} {{ Form::textarea('campaignDescription', $campaignDescription, ['id' => 'campaignDescription', 'class' => 'form-control', 'rows' => 2, 'cols' => 40]) }}
{{ Form::label('startDate', trans('marketing.Start Date'), ['class' => 'required']) }} {{ Form::text('startDate', $startDate, ['class' => 'form-control', 'id' => 'startDate', 'readonly' => 'readonly']) }}
{{ Form::label('endDate', trans('marketing.End Date'), ['class' => 'required']) }} {{ Form::text('endDate', $endDate, ['class' => 'form-control', 'id' => 'endDate', 'readonly' => 'readonly']) }}
{{ Form::label('campaignUrl', trans('marketing.Campaign URL'), ['class' => 'required']) }} {{ Form::text('campaignUrl', $campaignUrl, ['class' => 'form-control', 'id' => 'campaignUrl', 'readonly' => 'readonly']) }}

{{ trans('marketing.Payment & Rule Settings') }}



{{ Form::label('conversion', trans('marketing.Conversion(%)'), ['class' => 'required']) }} {{ Form::text('conversion', $conversion, ['class' => 'form-control', 'id' => 'conversion', 'min' => '0', 'max' => '100']) }}
{{ Form::label('validity', trans('marketing.Validity(days)'), ['class' => 'required']) }} {{ Form::text('validity', $validity, ['class' => 'form-control', 'id' => 'validity']) }}
{{ trans('marketing.Tier') }} {{ trans('marketing.Bonus (%)') }} {{ trans('marketing.Bonus Max Cap') }}
{{ Form::label('promoPercentage', trans('marketing.Promo (%)')) }} {{ Form::text('promoPercentage', $promoPercentage, ['class' => 'form-control', 'id' => 'promoPercentage']) }}
{{ Form::label('cardPercentage', trans('marketing.Credit / Debit Card (%)')) }} {{ Form::text('cardPercentage', $cardPercentage, ['class' => 'form-control', 'id' => 'cardPercentage']) }}
{{ Form::label('promoAmount', trans('marketing.Promo Amount'), ['class' => 'required']) }} {{ Form::text('promoAmount', $promoAmount, ['class' => 'form-control', 'id' => 'promoAmount']) }}
{{ Form::label('promoCap', trans('marketing.Promo Cap')) }} {{ Form::text('promoCap', $promoCap, ['class' => 'form-control', 'id' => 'promoCap']) }}
{{ Form::label('netbanking', trans('marketing.Netbanking (%)')) }} {{ Form::text('netbanking', $netbanking, ['class' => 'form-control', 'id' => 'netbanking']) }}
{{ Form::label('bonusCap', trans('marketing.Bonus Cap')) }} {{ Form::text('bonusCap', $bonusCap, ['class' => 'form-control', 'id' => 'bonusCap']) }}
{{ Form::label('minimumDepositAmount', trans('marketing.Minimum Deposit Amount')) }} {{ Form::text('minimumDepositAmount', $minimumDepositAmount, ['class' => 'form-control', 'id' => 'minimumDepositAmount']) }}
{{ Form::label('paymentType', trans('marketing.Payment Type'), ['class' => 'required']) }} {{ Form::select('paymentType', $paymentTypeList, $paymentType, ['id' => 'paymentType', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('rule', trans('marketing.Rule'), ['class' => 'required']) }} {{ Form::select('rule', $ruleList, $rule, ['id' => 'rule', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('promoValue', trans('marketing.Promo Value'), ['class' => 'required']) }} {{ Form::text('promoValue', $promoValue, ['class' => 'form-control', 'id' => 'promoValue']) }}

{{ Form::label('tournament', trans('marketing.Tournament')) }} {{ Form::select('tournament', $tournamentList,$tournament, ['id' => 'tournament', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('tournament', trans('tournament.Tournament'))}} {{ Form::select('rummytournamentList',$rummytournamentList,$tournament, ['id' => 'rummytournamentList', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}

{{ 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, $dailyCount, ['id' => 'dailyCount', 'class' => 'form-control select2', 'placeholder' => 'Select']) }}
{{ Form::label('maxCab', trans('marketing.Max Cap (Per User)'), ['class' => 'required']) }} {{ Form::text('maxCab', $maxCab, ['class' => 'form-control', 'id' => 'maxCab']) }}
{{ Form::label('maxCab', trans('marketing.Select Week Days'), ['class' => 'required']) }}

{{ trans('marketing.User Range Settings') }}

{{ Form::label('expectedUserMin', trans('marketing.Expected User Min'), ['class' => 'required']) }} {{ Form::text('expectedUserMin', $expectedUserMin, ['class' => 'form-control', 'id' => 'expectedUserMin', 'min' => '0']) }}
{{ Form::label('expectedUserMax', trans('marketing.Expected User Max'), ['class' => 'required']) }} {{ Form::text('expectedUserMax', $expectedUserMax, ['class' => 'form-control', 'id' => 'expectedUserMax', 'min' => '0']) }}
@endsection @section('javascript') @stop