Path : /var/www/html/mini-moneyexchange/resources/views/currency/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/mini-moneyexchange/resources/views/currency/currencyList.blade.php |
@extends('layouts.main') @section('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">{{__('message.currency')}}</h4> <div class="ms-auto text-end"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="{{route('currencies.create')}}" class="btn btn-primary btn-sm"> <i class="fa fa-plus"></i> {{{__('message.add new')}}} </a> </li> </ol> </nav> </div> </div> </div> </div> <div class="container-fluid" style="padding-top: 0px;"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <div class="table-responsive"> <table id="zero_config" class="table table-striped table-bordered"> <thead> <tr> <th>#</th> <th>{{__('message.name')}}</th> <th>{{__('message.currency code')}}</th> <th>{{__('message.flage')}}</th> <th>{{__('message.sample money')}}</th> <th>{{__('message.decimal precision')}}</th> <th>{{__('message.is main currency')}}</th> <th>{{__('message.created by')}}</th> <th>{{__('message.action')}}</th> </tr> </thead> <tbody> @foreach($currencies as $index => $currency) <tr> <td>{{$index+1}}</td> <td>{{$currency->name}}</td> <td>{{$currency->currency_code}}</td> <td> @if($currency->flage) <img src="{{asset($currency->flage)}}" style="width:100px"> @endif </td> <td> @if($currency->sample_money) <img src="{{asset($currency->sample_money)}}" style="width:100px"> @endif </td> <td>{{$currency->decimal_precision}}</td> <td>{{$currency->is_main_currency?"Yes":"No"}}</td> <td>{{$currency->user->name??''}}</td> <td> <a href="{{route('currencies.edit',$currency)}}" class="btn btn-primary btn-sm"><i class="fa fa-eye"></i></a> <form method="POST" action="{{route('currencies.destroy', $currency)}}" style="display:inline"> <input name="_method" type="hidden" value="DELETE"> {{ csrf_field() }} <button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('{{ __('message.do you want to delete') }}?')"> <i class="fas fa-trash" style="color: #FFF;"></i> </button> </form> </td> </tr> @endforeach </tbody> </table> <div class="rows"> {{ $currencies->appends($_GET)->links() }} @if($currencies->hasPages()) <select name="perpage" style="display: inline;border:1px solid #CCC;" onchange="loadPerPage();"> <option value="25" @if(isset($perpage) & $perpage==25) selected @endif>25</option> <option value="50" @if(isset($perpage) & $perpage==50) selected @endif>50</option> <option value="100" @if(isset($perpage) & $perpage==100) selected @endif>100</option> <option value="150" @if(isset($perpage) & $perpage==150) selected @endif>150</option> <option value="200" @if(isset($perpage) & $perpage==200) selected @endif>200</option> <option value="250" @if(isset($perpage) & $perpage==250) selected @endif>250</option> <option value="300" @if(isset($perpage) & $perpage==300) selected @endif>300</option> <option value="350" @if(isset($perpage) & $perpage==350) selected @endif>350</option> <option value="400" @if(isset($perpage) & $perpage==400) selected @endif>400</option> <option value="1000" @if(isset($perpage) & $perpage==1000) selected @endif>1000</option> <option value="1500" @if(isset($perpage) & $perpage==1500) selected @endif>1500</option> </select> @endif </div> </div> </div> </div> </div> </div> </div> </div> @endsection @section('meta') <title>{{__('message.currency')}}</title> @endsection