<div class="box-body" id="pos_settings">
    <?php if(!empty($flexiblepossetting)): ?>
    <?php echo e(Form::model($flexiblepossetting, array('route' => array('flexiblepossetting.update', $flexiblepossetting->id), 'method' => 'PUT', 'files' => true))); ?>

  <?php else: ?>
    <?php echo e(Form::open(array('route' => 'flexiblepossetting.store', 'files' => true,))); ?>

  <?php endif; ?>
  <div class="col-md-6">
    <div class="form-group row">
      <?php echo e(Form::label('language', __('Language'), ['class'=>'col-sm-3'])); ?>

      <div class="col-sm-8"> 
      <?php echo e(Form::select('language', array('en' => 'English', 'id' => 'Indonesia', 'es' => 'Spanish'), null, array('class' => 'form-control', 'required'))); ?>

      </div>
  </div>
  <?php if(!empty($currencies)): ?>
    <div class="form-group row">
        <?php echo e(Form::label('currency_code', __('Currency'), ['class'=>'col-sm-3'])); ?>

        <div class="col-sm-8"> 
          <select name="currency_code" class="form-control" required>
            <?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <option value="<?php echo e($currency->code); ?>" <?php echo e((!empty($currency_code) && ($currency_code == $currency->code)) ? 'selected' : ''); ?>><?php echo e($currency->code. '('.$currency->symbol.')'); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </select>
        </div>
    </div>
    <?php endif; ?>
    
    <div class="form-group row">
      <?php echo e(Form::label('company_name', __('Company Name'), ['class'=>'col-sm-3'])); ?>

      <div class="col-sm-8"> 
      <?php echo e(Form::text('company_name', null, array('class' => 'form-control', 'required'))); ?>

      </div>
    </div>
    <div class="form-group row">
        <?php echo e(Form::label('starting_balance', __('Starting Balance'), ['class'=>'col-sm-3'])); ?>

        <div class="col-sm-8"> 
        <?php echo e(Form::number('starting_balance', null, array('class' => 'form-control', 'required'))); ?>

        </div>
    </div>
  </div>

  <div class="col-md-6">
      <div class="form-group row">
        <?php echo e(Form::label('company_address', __('Company Address'), ['class'=>'col-sm-3'])); ?>

            <div class="col-sm-8"> 
        <?php echo e(Form::textarea('company_address', null, array('class' => 'form-control', 'rows'=>3, 'required'))); ?>

      </div>
      </div>
      <div class="form-group row">
          <?php echo e(Form::label('logo_path', __('Company Logo'), ['class'=>'col-sm-3'])); ?>

          <div class="col-sm-4"> 
          <?php echo e(Form::file('logo_path', null, array('class' => 'form-control'))); ?>

          </div>
          <div class="col-sm-5">
            <?php if(!empty($flexiblepossetting->logo_path)): ?>
            <img src="<?php echo e($flexiblepossetting->fileUrl('logo_path')); ?>" alt="" height="40px">
            <?php else: ?>
            <img src="<?php echo e(asset('images/fpos.png')); ?>" alt="" height="40px">
            <?php endif; ?>
          </div>
      </div>
      <div class="form-group row">
          <?php echo e(Form::label('fevicon_path', __('Fevicon/small logo'), ['class'=>'col-sm-3'])); ?>

          <div class="col-sm-4"> 
            <?php echo e(Form::file('fevicon_path', null, array('class' => 'form-control'))); ?>

          </div>
          <div class="col-sm-5">
            <?php if(!empty($flexiblepossetting->fevicon_path)): ?>
              <img src="<?php echo e($flexiblepossetting->fileUrl('fevicon_path')); ?>" alt="" height="30px" />
            <?php else: ?>
              <img src="<?php echo e(asset('images/fevicon.png')); ?>" alt="" height="30px" />
            <?php endif; ?>
          </div>
      </div>
      <div class="row">
          <div class="col-sm-12 text-right">
              <?php echo e(Form::submit(__('Submit'), array('class' => 'btn btn-success btn-sp'))); ?>

          </div>
      </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<?php /**PATH /Users/ajitdas/prjs-mega/flexiblepos-v2.0/resources/views/flexiblepos-setting/pos_settings.blade.php ENDPATH**/ ?>