@extends('user.layout') @php $userDefaultLang = \App\Models\User\Language::where([ ['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1], ])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); @endphp @section('content')
| # | {{ __('Currency Name') }} | {{ __('Symbol') }} | {{ __('Exchange Rate') }} | {{ __('Default') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
| {{ $loop->iteration }} |
@if(strpos(strtolower($currency->text), 'inr') !== false || strpos(strtolower($currency->text), 'rupee') !== false || $currency->symbol == '₹')
{{ __('Indian Rupee (INR)') }}
@else
{{ $currency->text }}
@endif
|
{{ $currency->symbol }} | {{ $currency->value }} | @if ($currency->is_default == 1) {{ __('Default') }} @else - @endif |