
<?php $__env->startSection('title','تسجيل الدخول'); ?>
<?php $__env->startSection('content'); ?>
<div class="auth-inner my-2">
<!-- Login basic -->
<div class="card mb-0">
  <div class="card-body">
    <a href="#" class="brand-logo">
      <img src="<?php echo e(asset('app-assets/images/logo.png')); ?>" alt="logo" class="logo-large" style="width: 40%;heigh: 40%;">
    </a>

    <h4 class="card-title mb-1" align="center">تسجيل الدخول</h4>
    <center>
    <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
    <div class="alert alert-danger"  role="alert">
      <div class="alert-body"> <?php echo e($message); ?> </div>
    </div>
    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </center>
    <form class="auth-login-form mt-2" action="<?php echo e(route('client.login')); ?>" method="POST" name="login">
      <?php echo csrf_field(); ?>
      
      <div class="mb-1">
        <b for="login-email" class="form-label">رقم الموبايل</b>
        <input
          type="text"
          class="form-control"
          id="login-email"
          name="email"
          value="<?php echo e(old('email')); ?>"
          placeholder="رقم الموبايل"
          aria-describedby="email"
          tabindex="1"
          autofocus
        /> 
      </div>

      <div class="mb-1">
        <div class="d-flex justify-content-between">
          <b class="form-label" for="login-password">كلمة المرور</b>
          <a href="<?php echo e(route('client.password.request')); ?>">
            <small>هل نسيت كلمة المرور ؟</small>
          </a>
        </div>
        <div class="input-group input-group-merge form-password-toggle">
          <input
            type="password"
            class="form-control form-control-merge"
            id="login-password"
            name="password"
            tabindex="2"
            placeholder="كلمة المرور"
            aria-describedby="password"
          /> <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
          <span class="invalid-feedback" role="alert">
                      <strong><?php echo e($message); ?></strong>
                  </span>
          <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
          <span class="input-group-text cursor-pointer"><i data-feather="eye"></i></span>
        </div>
      </div>
      <div class="mb-1">
        <div class="form-check">
          <input class="form-check-input" type="checkbox" id="remember-me" name="remember" tabindex="3" <?php echo e(old('remember') ? 'checked' : ''); ?> />
          <label class="form-check-label" for="remember-me">  تذكرني </label>
        </div>
      </div>
      <button class="btn btn-primary w-100" tabindex="4" name="submit">دخول</button>
    </form>

    <p class="text-center mt-2">
      <span>ليس لديك حساب ؟</span>
      <a href="<?php echo e(route('client.register')); ?>">
        <span>إنشاء شركة جديدة</span>
      </a>
    </p>


  </div>
</div>
<!-- /Login basic -->
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('client.layouts.app-login', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xampp\htdocs\sales\resources\views/client/auth/login.blade.php ENDPATH**/ ?>