@if (admin_permission_by_name("admin.languages.import"))
<div id="language-import" class="mfp-hide medium">
<div class="modal-data">
<div class="modal-header px-0">
<h5 class="modal-title">{{ __("Edit Language") }}</h5>
</div>
<div class="modal-form-data">
<form class="modal-form" method="POST" action="{{ setRoute('admin.languages.import') }}" enctype="multipart/form-data">
@csrf
<div class="row mb-10-none mt-2">
<div class="col-xl-12 col-lg-12 form-group">
<label for="language">{{ __("Language") }}*</label>
<select name="language" id="language" class="form--control nice-select">
<option selected disabled>{{ __("Select Language") }}</option>
@foreach ($languages ?? [] as $item)
<option value="{{ $item->code }}">{{ $item->name }}</option>
@endforeach
</select>
@error("language")
<span class="invalid-feedback d-block" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<div class="col-xl-12 col-lg-12 form-group">
@include('admin.components.form.input-file',[
'label' => __("Language File (.xlsx, .csv)")."*",
'name' => "file",
'class' => "form--control",
'accept' => ".csv,.xlsx",
'attribute' => "style=height:auto",
])
</div>
<div class="col-xl-12 col-lg-12 form-group d-flex align-items-center justify-content-between mt-4">
<button type="button" class="btn btn--danger modal-close">{{ __("Cancel") }}</button>
<button type="submit" class="btn btn--base">{{ __("Update") }}</button>
</div>
</div>
</form>
</div>
</div>
</div>
@push("script")
<script>
openModalWhenError("language-import","#language-import");
</script>
@endpush
@endif
Save Cards
Simplify your payment experience by securely saving your card on our platform. After your initial transaction, you can choose to store your card details safely for future use. This feature eliminates the need to re-enter your payment information each time, making checkouts faster while keeping your data secure with advanced encryption and robust security measures.