@php // ConfigCode에 미등록된 값이 존재할 경우 // 1) INVOICE_ITEM_CATEGORY $has_other_category = isset($name) && $name && !$item_categories->pluck('code')->contains($name); // 2) CURRENCY if (!isset($currency)) { $currency = ''; } // 미등록된 통화가 존재할 경우 other_currency에 설정 if ($currency && !$item_currencies->pluck('code')->contains($currency)) { $other_currency_code = $currency; $other_currency_name = ConfigCode::getCode('CURRENCY', $currency); $other_currency_name = $other_currency_name ? $other_currency_name->name : ''; } else { $other_currency_code = ''; $other_currency_name = ''; } @endphp
{{ $exchange_currency_name or '' }}
{{ isset($amount_exchange) && $amount_exchange !== null ? number_format($amount_exchange) : '' }}