@extends('layout.basic.main') @push('css') @endpush @section('content')

注文詳細

@if($cycle->status_bill == 1 && $cycle->cycle_payment != 0 && $cycle->status_trial == 1) @endif @if($cycle->status_bill == 1 && $cycle->cycle_payment != 0 && $cycle->status_trial == 0) @endif
継続注文番号
{{$cycle->id}}
商品価格
{{number_format($cycle->status_bill == 1 ? $cycle->current_amount : $cycle->amount_item)}}円
初回トライアル価格
@if($cycle->status_bill != 1)
@if(isset($cycle->amount_first) && $cycle->amount_first != 0) {{number_format($cycle->amount_first)}}円 @endif @if((!isset($cycle->amount_first)) || ( isset($cycle->amount_first) && $cycle->amount_first == 0)) 設定なし@endif
@endif @if($cycle->status_bill == 1)
@if(isset($cycle->current_amount_first) && $cycle->current_amount_first != 0) {{number_format($cycle->current_amount_first)}}円 @endif @if((!isset($cycle->current_amount_first)) || ( isset($cycle->current_amount_first) && $cycle->current_amount_first == 0)) 設定なし@endif
@endif
トライアル日数
@if(isset($cycle->number_trial_date)) {{$cycle->number_trial_date}}日 @endif @if(!isset($cycle->number_trial_date)) 設定なし @endif
{{--
--}} {{--
購入者名
--}} {{--
{{$cycle->name_friend}}
--}} {{--
--}}
LINE登録名
初回購入日時
{{$cycle->c_register_date}}
本番/テスト
@if($cycle->flag_environment == 0) テスト @endif @if($cycle->flag_environment == 1) 本番 @endif
{{--
--}} {{--
メールアドレス
--}} {{--
{{$cycle->email_friend}}
--}} {{--
--}} {{--
--}} {{--
電話番号
--}} {{--
{{$cycle->phone_friend}}
--}} {{--
--}}
カード情報
{{$cycle->c_strip_brand_name}} **** **** **** {{$cycle->c_strip_last4}}
キャンセル
@if($cycle->status_bill == 3) キャンセル済 - {{ $cycle->c_cancel_date }} @endif
@foreach($infoUser as $info)
{{ $info->title }}
{{ $info->value }}
@endforeach

決済履歴

決済回数
注文番号
請求日
決済日
ステータス
返金
@foreach($orderDetail as $order)
{{ count($orderDetail)-($loop->index) }}
{{$order->id}}
{{ date('Y-m-d', strtotime($order->payment_date)) }}
@if(!empty($order->bill_success_date)) {{ date('Y-m-d', strtotime($order->bill_success_date)) }} @endif @if(empty($order->bill_success_date)) - @endif
@if($order->status_trial == 0) @if(!empty($accountPayment)) @if($order->flag_environment == 0) @endif @if($order->flag_environment == 1) @endif @if($order->status_order != 3)
支払い済
@endif @if($order->status_order == 3)
延滞中
@endif
@endif @endif @if($order->status_trial == 1)
トライアル
@endif
@if($order->status_order == 2)
返金済
@endif @if($order->status_order == 1)
返金
@endif
@endforeach
@endsection @push('js') @endpush