{!! Form::open(array('url' => route('settings.storeRank'), 'method' => 'post', 'files'=> true,'id'=>'fvalidate','class'=>'sent-sms')) !!}
{!! Form::label('silver', 'Thăng hạn rank Người mua hàng (Sliver)', array('class' => 'control-label required')) !!}
{!! Form::text('silver',@number_format(setting('silver')), array('class' => 'form-control')) !!}
{{ $errors->first('silver', ':message') }}
{!! Form::label('platinum', 'Thăng hạn rank Khách hàng VIP', array('class' => 'control-label required')) !!}
{!! Form::text('platinum',@number_format(setting('platinum')), array('class' => 'form-control')) !!}
{{ $errors->first('platinum', ':message') }}
{!! Form::label('gold', 'Thăng hạn rank Khách hàng (GOLD)', array('class' => 'control-label required')) !!}
{!! Form::text('gold',@number_format(setting('gold')), array('class' => 'form-control')) !!}
{{ $errors->first('gold', ':message') }}
{!! Form::label('exchange', '% Hoa hồng CTV', array('class' => 'control-label required')) !!}
{!! Form::text('exchange',@number_format(setting('exchange')), array('class' => 'form-control')) !!}
{{ $errors->first('exchange', ':message') }}
{!! Form::label('server_call_center', 'SERVER TỔNG ĐÀI', array('class' => 'control-label required')) !!}
{!! Form::select('server_call_center',[\App\Constants\StatusCode::SERVER_3CX=>'Sever 3CX',\App\Constants\StatusCode::SERVER_CGV_TELECOM=>'Server CgvTelecom',\App\Constants\StatusCode::SERVER_GTC_TELECOM=>'Server GtcTelecom' ], @setting('server_call_center'), array('class' => 'form-control','data-placeholder'=>'Dịch vụ tổng đài')) !!}
{!! Form::label('approval_start', 'BĐ ca chấm công (08:00)', array('class' => 'control-label')) !!}
{!! Form::text('approval_start',@setting('approval_start'), array('class' => 'form-control')) !!}
{!! Form::label('approval_end', 'Kết thúc ca chấm công (18:30)', array('class' => 'control-label')) !!}
{!! Form::text('approval_end',@setting('approval_end'), array('class' => 'form-control')) !!}
TH: 01 NHÂN VIÊN PHỤ TRÁCH
{!! Form::label('exchange_yta_single', 'Hoa hồng y tá', array('class' => 'control-label required')) !!}
{!! Form::text('exchange_yta_single',@number_format(setting('exchange_yta_single')), array('class' => 'form-control number')) !!}
{!! Form::label('exchange_support_single', '% Hoa hồng tư vấn', array('class' => 'control-label required')) !!}
{!! Form::text('exchange_support_single',@@number_format(setting('exchange_support_single')), array('class' => 'form-control number')) !!}
TH: 02 NHÂN VIÊN PHỤ TRÁCH
{!! Form::label('exchange_yta1', 'Hoa hồng y tá chính', array('class' => 'control-label required')) !!}
{!! Form::text('exchange_yta1',@number_format(setting('exchange_yta1')), array('class' => 'form-control number')) !!}
{!! Form::label('exchange_yta2', 'Hoa hồng y tá phụ', array('class' => 'control-label required')) !!}
{!! Form::text('exchange_yta2',@number_format(setting('exchange_yta2')), array('class' => 'form-control number')) !!}
{!! Form::label('exchange_support1', '% Hoa hồng tư vấn chính', array('class' => 'control-label required')) !!}
{!! Form::text('exchange_support1',@@number_format(setting('exchange_support1')), array('class' => 'form-control number')) !!}
{!! Form::label('exchange_support2', '% Hoa hồng tư vấn phụ', array('class' => 'control-label required')) !!}
{!! Form::text('exchange_support2',@number_format(setting('exchange_support2')), array('class' => 'form-control number')) !!}