You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

57 lines
2.3 KiB

@extends('layouts.admin.app')
@section('title','Currency')
@push('css_or_js')
@endpush
@section('content')
<div class="content container-fluid">
<!-- Page Header -->
<div class="page-header">
<div class="row align-items-center">
<div class="col-sm mb-2 mb-sm-0">
<h1 class="page-header-title">Update Currency</h1>
</div>
</div>
</div>
<!-- End Page Header -->
<div class="row gx-2 gx-lg-3">
<div class="col-sm-12 col-lg-12 mb-3 mb-lg-2">
<form action="{{route('admin.business-settings.currency-update',[$currency['id']])}}" method="post"
enctype="multipart/form-data">
@csrf
@method('put')
<div class="form-group mb-2">
<label class="form-label d-block">Country Name</label>
<input type="text" placeholder="{{ translate('messages.Ex :') }} Bangladesh" value="{{$currency['country']}}" class="form-control" name="country">
</div>
<div class="form-group mb-2">
<label class="form-label d-block">Code</label>
<input type="text" placeholder="{{ translate('messages.Ex :') }} USD" value="{{$currency['currency_code']}}" class="form-control" name="currency_code">
</div>
<div class="form-group mb-2">
<label class="form-label d-block">Symbol</label>
<input type="text" placeholder="{{ translate('messages.Ex :') }} $" value="{{$currency['currency_symbol']}}" class="form-control" name="symbol">
</div>
<div class="form-group mb-2">
<label class="form-label d-block">Exchange Rate ( 1 USD ) with USD</label>
<input type="number" placeholder="{{ translate('messages.Ex :') }} 1" value="{{$currency['exchange_rate']}}" class="form-control" name="exchange_rate">
</div>
<button type="submit" class="btn btn-primary mb-2">Update</button>
</form>
</div>
</div>
</div>
@endsection
@push('script_2')
@endpush