@extends("common.layout") @section("header") {!! resource('js/components/multiSelect.js') !!} {!! resource('css/components/multiSelect.css') !!} {!! resource('js/payment/payment-common.js') !!} @endsection @section("content")

어학원(수강기준) 결제목록

@csrf
@hasrole(['root',$service.'-admin', 'financial-manager']) @endhasrole
{{ number_format($count) }} 건, 총 결제금액 {{number_format($payment)}}원 | 신규 {{$totals['new']['count']}}건, 매출액 {{number_format($totals['new']['sum'])}}원 | 재등록 {{$totals['re']['count']}}건, 매출액 {{number_format($totals['re']['sum'])}}원 | (+) 변경 {{$totals['change']['count']}}건, 매출액 {{number_format($totals['change']['sum'])}}원 | (-) 변경(환불) {{$totals['change_refund']['count']}}건, 매출액 {{ $totals['change_refund']['sum'] > 0 ? '-' . number_format($totals['change_refund']['sum']) : number_format($totals['change_refund']['sum']) }}원 | 기타 {{$totals['etc']['count']}}건, 매출액 {{number_format($totals['etc']['sum'])}}
@foreach ($list as $index => $item) @endforeach
번호 정산월 정산등록일 이름 핸드폰 수강시작월 수강종료월 매출 환불 매출액 환불액 수강반(결제상품) 수강반(수강강좌) 유학원 특이사항
{{$list->firstItem() + $index}} {{Carbon::parse($item->target_month)->format('Y년 m월')}} {{Carbon::parse($item->insert_at)->format('ymd')}} {{$item->user_name}} {{BaseHelper::formatPhoneNumber($item->phone)}} {{$item->period_enabled ? "" :Carbon::parse($item->period_start_month)->format('Y년 m월')}} {{$item->period_enabled ? "" :Carbon::parse($item->period_end_month)->format('Y년 m월')}} {{config('system.calc_affiliation')[$item->payment_affiliation] ?? ''}} {{config('system.calc_affiliation_payment_types')[$item->payment_affiliation][$item->payment_type] ?? ''}} {{$item->refund_price ? config('system.calc_affiliation')[$item->refund_affiliation] ?? '' : ''}} {{$item->refund_price ? config('system.calc_affiliation_refund_types')[$item->refund_affiliation][$item->refund_type] ?? '' : ""}} {{number_format($item->payment_price)}} {{$item->refund_price ? '-'.number_format($item->refund_price) : ''}} {{$item->product_name}} {{$item->course_name}} {{$item->branch ? config('system.calc_branch')[$item->branch] . "(".$item->branch_name.")" : ""}} {{$item->notice}}
@endsection @push("script") @endpush