@php /* * 후컴 Invoice 조회 페이지 */ if ($info_after->code_status === 'TAKE') { $exchange_rate = getExchangeRate(null, 'dealing'); if ($info_invoice->currency && array_key_exists($info_invoice->currency, $exchange_rate['exchange'])) { $info_invoice->commission_exchange_rate = $exchange_rate['exchange'][$info_invoice->currency]; $info_invoice->commission_amount_exchange = round($info_invoice->commission_exchange_rate * $info_invoice->commission_amount / 10) * 10; } } // Agency $agency = App\Model\Agency::find($info_invoice->agency_id); // Process $process = App\Model\Process::find($info_invoice->process_id); @endphp @extends('layouts.page') @include('html.header.input') @include('html.header.edm-ajax') @push('css') @endpush @push('script') @endpush @push('head') @endpush @section('ui-header') @endsection @section('ui-content')

후컴 상세정보

    @if ($info_after->code_status === 'DEFAULT')
  • 학교로부터 커미션 회수를 대기중 입니다.
  • 일정기간 내에 학교측에 커미션을 요청합니다.
  • @elseif ($info_after->code_status === 'REQUEST')
  • 학교측에 커미션을 청구하였습니다.
  • 환율 및 최종 원화 금액은 커미션 회수 후 산정 됩니다.
  • @elseif ($info_after->code_status === 'TAKE')
  • 현재 환율로 커미션 금액(원화) 을 산출 중입니다. (매매기준율 기준)
  • @if ($info_invoice->commission_exchange_rate)
  • 현재 환율 : {{ $info_invoice->currency }} {{ $info_invoice->commission_exchange_rate }} ({{ date('Y.m.d H:i:s', $exchange_rate['date']) }} KEB하나은행 기준)
  • @endif @elseif ($info_after->code_status === 'AMOUNT_FIX')
  • 아래의 금액으로 커미션 송금 예정입니다.
  • @elseif ($info_after->code_status === 'REMIT')
  • 커미션 금액을 송금 중입니다.
  • @endif
@if ($info_after->code_status === 'COMPLETED')

커미션 송금이 정상적으로 완료되었습니다.

@endif @if (isLogin('staff')) @endif {{-- 금액산정 ~ 완료상태일 경우 --}} @if (!in_array($info_after->code_status, ['DEFAULT', 'REQUEST'])) @if (isLogin('staff') || $info_after->code_status !== 'TAKE') @if ($info_after->code_status === 'REMIT' || $info_after->code_status === 'COMPLETED') @if ($info_after->code_status === 'COMPLETED') @else @endif @endif @if (isLogin('staff')) @endif @endif

에이전시

{{ $info_invoice->agency_name or '' }}

연락처

{{ $agency->tel_number or '' }}

고객명

{{ $info_invoice->process_name or '' }}

수속일

{{ isset($process->process_start_date) ? date('Y.m.d', $process->process_start_date) : '' }}

학교명

{{ $info_invoice->school_name or '' }}

커미션 금액

{{ $info_invoice->currency }} {{ number_format($info_invoice->commission_amount, 2) }}

커미션

{{ number_format($info_invoice->commission, 2) }} %

원화 금액

@if ($info_after->code_status !== 'TAKE')

₩ {{ isset($info_invoice->commission_amount_exchange) ? number_format($info_invoice->commission_amount_exchange) : '' }}

@else

@endif

환율

@if ($info_after->code_status !== 'TAKE')

{{ $info_invoice->commission_exchange_rate or '' }}

@else
@endif

은행

{{ $agency->bank_account->bank_name or '' }}

예금주

{{ $agency->bank_account->account_name or '' }}

계좌번호

{{ $agency->bank_account->account_number or '' }}

송금시간

{{ date('Y.m.d H:i:s', $info_after->complete_date) }}

{{ $agency->bank_account->account_number or '' }}

@endif

메모

@if ($info_after->code_status === 'COMPLETED')
{!! nl2br($info_after->memo) !!}
@else @endif
@if (isLogin('staff'))
@if ($info_after->code_status === 'DEFAULT')

학교측에 커미션 청구를 진행하시겠습니까?

@elseif ($info_after->code_status === 'REQUEST')

학교로부터 커미션 회수를 완료 하였습니까?

@elseif ($info_after->code_status === 'TAKE')

원화금액과 환율을 고정 하시겠습니까?

@elseif ($info_after->code_status === 'AMOUNT_FIX')

이 금액으로 송금을 하시겠습니까?

@elseif ($info_after->code_status === 'REMIT')

이 후컴관리를 최종 완료 하시겠습니까?

@elseif ($info_after->code_status === 'COMPLETED')
@endif
@endif

정산서 상세 내역

@include('template.invoice.show', [ 'info_invoice' => $info_invoice, ])
@endsection @section('ui-footer') @endsection