관리-도구
편집 파일: d08b463fe1ced3a9ddb2dd3767478fd1250a2f27.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-12"> <div class="alert alert-warning"> <strong><?php echo e(_lang('Do not change base currecny once you made any transactions otherwise your calculation will be wrong !')); ?></strong> </div> <div class="alert alert-info"> <strong><?php echo e(_lang('Base currency exchange rate will be always 1.00')); ?></strong> </div> <div class="card no-export"> <div class="card-header d-flex align-items-center"> <span class="panel-title"><?php echo e(_lang('Currency List')); ?></span> <a class="btn btn-primary btn-xs ml-auto ajax-modal" data-title="<?php echo e(_lang('Add Currency')); ?>" href="<?php echo e(route('currency.create')); ?>"><?php echo e(_lang('Add New')); ?></a> </div> <div class="card-body"> <table id="currency_table" class="table table-bordered data-table"> <thead> <tr> <th><?php echo e(_lang('Name')); ?></th> <th><?php echo e(_lang('Base Currency')); ?></th> <th><?php echo e(_lang('Exchange Rate')); ?></th> <th><?php echo e(_lang('Status')); ?></th> <th class="text-center"><?php echo e(_lang('Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $currencys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr data-id="row_<?php echo e($currency->id); ?>"> <td class='name'><?php echo e($currency->name); ?></td> <td class='base_currency'><?php echo e($currency->base_currency == 1 ? _lang('Yes') : _lang('No')); ?></td> <td class='exchange_rate'><?php echo e($currency->exchange_rate); ?></td> <td class='status'><?php echo e($currency->status == 1 ? _lang('Active') : _lang('InActive')); ?></td> <td class="text-center"> <div class="dropdown"> <button class="btn btn-light dropdown-toggle btn-xs" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <?php echo e(_lang('Action')); ?> <i class="fas fa-angle-down"></i> </button> <form action="<?php echo e(action('CurrencyController@destroy', $currency['id'])); ?>" method="post"> <?php echo e(csrf_field()); ?> <input name="_method" type="hidden" value="DELETE"> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="<?php echo e(action('CurrencyController@edit', $currency['id'])); ?>" data-title="<?php echo e(_lang('Update Currency')); ?>" class="dropdown-item dropdown-edit ajax-modal"><i class="mdi mdi-pencil"></i> <?php echo e(_lang('Edit')); ?></a> <a href="<?php echo e(action('CurrencyController@show', $currency['id'])); ?>" data-title="<?php echo e(_lang('View Currency')); ?>" class="dropdown-item dropdown-view ajax-modal"><i class="mdi mdi-eye"></i> <?php echo e(_lang('View')); ?></a> <button class="btn-remove dropdown-item" type="submit"><i class="mdi mdi-delete"></i> <?php echo e(_lang('Delete')); ?></button> </div> </form> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/backend/currency/list.blade.php ENDPATH**/ ?>