@extends( 'newBase' ) @section('title', 'index') @section('content') @php $version = config('app.version'); $financialRecordsStr = json_encode(isset($financialRecords) && $financialRecords ? $financialRecords : []); $financialPaidsStr = json_encode(isset($financialPaid) && $financialPaid ? $financialPaid : []); $images_pathsStr = json_encode(isset($financial->images_paths) && $financial->images_paths ? $financial->images_paths : []); $allOperatorStr = json_encode(isset($operatorOther) && $operatorOther ? $operatorOther : []); $allContract = json_encode(isset($allContract) && $allContract ? $allContract : []); $refundProtocolFiles = json_encode(isset($financial->refundProtocolFiles) && $financial->refundProtocolFiles ? $financial->refundProtocolFiles : []); @endphp
业务提成
确认提交
@if ($financial->approve_status == 1)
@endif @if ($financial->approve_status == 2)
@endif
@if($financial && isset($financial->mode) && $financial->mode == 0) 退款详情 @else 收款详情 @endif
基础信息
录入日期
{{$createdAtTime}}
*客户姓名
@if($financial && isset($financial->mode) && $financial->mode == 0)
客户绑定员工
@else
*客户来源
{!!implode('
',$userSource)!!}
@endif
*@if($financial && isset($financial->mode) && $financial->mode == 0) 申请退款人 @else 收款人 @endif

@if(isset($operatorName)){{$operatorName}}@endif @if(isset($teamName)){{$teamName}}@endif

*客户类型
@if($financial && isset($financial->new_user) && $financial->new_user == 1) 新客户 @else 老客户 @endif
*@if($financial && isset($financial->mode) && $financial->mode == 0) 退款申请时间 @else 付款时间 @endif
@if($financial && isset($financial->paidDate)){{$financial->paidDate}}@endif
业务信息
@php $presents=""; if(isset($financial->present)){ $presents=$allPresent[$financial->present] . (isset($financial->present_other) ? '-' . ($financial->present_other) : ''); } @endphp @php $discounts=""; if(isset($financial->discount)){ $discounts=$allDiscount[$financial->discount] . (isset($financial->discount_other) ? '-' . ($financial->discount_other) : ''); } @endphp @if(!(($presents == '无') && ($financial->refund_requirement == '') && ($discounts == '无') && ($financial->comment == '')))
附加信息
赠送
{{$presents}}
退款条件
@if($financial && isset($financial->refund_requirement)){{$financial->refund_requirement}} @else 无 @endif
折扣
{{$discounts}}
备注
@if($financial && isset($financial->comment)){{$financial->comment}} @else 无 @endif
@endif
支付信息
*付款凭证
合同
@if($financial && isset($financial->mode) && $financial->mode == 0)
退款协议
@endif
总金额(¥)
@if ($canApprove) @if ($canEdit) @else @endif @endif
@if($financial->approve_status == 1) @if ($commisionPermision == 1 && $commisionFixed !== 1)
业务提成
@endif @if ($commisionFixed == 1)
业务提成
数据提成
@if($financial && isset($financial->data_commision_discount) && $financial->data_commision_discount == 1) 已扣回 @else 未扣回 @endif/ @if($financial && isset($financial->data_commision_amount) && $financial->data_commision_amount == 1) 金额正确 @else 金额错误 @endif
收款人提成
@if($financial && isset($financial->sale_commision_discount) && $financial->sale_commision_discount == 1) 已扣回 @else 未扣回 @endif/ @if($financial && isset($financial->sale_commision_amount) && $financial->sale_commision_amount == 1) 金额正确 @else 金额错误 @endif
@endif @endif @if ($canApprove)

拖拽文件到这里,直接上传
@if ($financial->approve_status == 0) @elseif($financial->approve_status == 1) @elseif($financial->approve_status == 2) @endif @else
@if ($canEdit) @else @endif
@endif
@if (isset($approveComment) && $approveComment)
审批记录
@for($i=count($approveComment)-1;$i>=0;$i--) @php($log=$approveComment[$i])
@if($log['approve_comment_name'] == '审批意见') @elseif($log['approve_comment_name'] == '待审批') @elseif($log['approve_comment_name'] == '审批通过') @elseif($log['approve_comment_name'] == '已驳回') @endif {{$log['approve_comment_name']}}
@if(!empty($log['remarks']))
{{$log['remarks']}}
@endif
@if (isset($log['approve_annex']) && $log['approve_annex']) @foreach(explode(',', $log['approve_annex']) as $item)
@endforeach @endif
{{$log['approve_date']}}
{{$log['approve_by']}}
@endfor
@endif
@include("financial.template.businessCardTemplate") @include("financial.template.detailPayMethodstemplate") @endsection