<div class="modal-dialog" role="document">
  <div class="modal-content">

    {!! Form::open(['url' => action([\App\Http\Controllers\CashRegisterListController::class, 'store']), 'method' => 'post', 'id' => 'cash_register_list_add_form' ]) !!}

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <h4 class="modal-title">@lang( 'cash_register.add_list' )</h4>
    </div>

    <div class="modal-body">
      <div class="form-group">
        {!! Form::label('name', __( 'cash_register.cash_register_name' ) . ':*') !!}
          {!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => __( 'cash_register.cash_register_name' ) ]); !!}
      </div>

      <div class="form-group">
          {!! Form::label('business_id', __('business.business_name') . ':*') !!} 
          {{-- @show_tooltip(__('tooltip.invoice_layout')) --}}
            {!! Form::select('business_id', $business, null, ['class' => 'form-control', 'required',
            'placeholder' => __('messages.please_select')]); !!}
      </div>      

      <div class="form-group">
          {!! Form::label('location_id', __('business.business_location') . ':*') !!} 
          {{-- @show_tooltip(__('tooltip.invoice_layout')) --}}
            {!! Form::select('location_id', $business_location, null, ['class' => 'form-control', 'required',
            'placeholder' => __('messages.please_select')]); !!}
      </div>      

    </div>

    <div class="modal-footer">
      <button type="submit" class="btn btn-primary">@lang( 'messages.save' )</button>
      <button type="button" class="btn btn-default" data-dismiss="modal">@lang( 'messages.close' )</button>
    </div>

    {!! Form::close() !!}

  </div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->