@extends('layouts.app') @section('title',$customer->name) @section('subtitle','پروفایل مشتری · '.$customer->phone) @section('actions') @if($allowed('customers.manage'))ویرایش مشخصات و رضایت@endif @endsection @section('content')
@if($allowed('finance.view'))
مجموع پرداخت
{{ \App\Support\Persian::money($customer->lifetime_paid_rial) }}
@endif @foreach([['امتیاز فعلی',\App\Support\Persian::digits($customer->points_balance)],['تعداد مراجعه',\App\Support\Persian::digits($customer->visits)],['آخرین مراجعه',\App\Support\Persian::date($customer->last_visit_at,'Y/m/d')]] as [$name,$value])
{{ $name }}
{{ $value }}
@endforeach

گردش امتیاز وفاداری

@foreach($entries as $e)@endforeach
رویدادامتیازتاریخ
{{ $e->reason }}{{ \App\Support\Persian::digits($e->delta) }}{{ \App\Support\Persian::date($e->created_at) }}
@if($allowed('crm.manage'))
@csrf

امتیاز منقضی‌شده قابل مصرف نیست؛ قدیمی‌ترین امتیازها ابتدا مصرف می‌شوند.

@endif

یادداشت‌های داخلی

@foreach($notes as $note)
{{ $note->body }}{{ \App\Support\Persian::date($note->created_at) }}
@endforeach @if($allowed('crm.manage'))
@csrf
@endif
@if($allowed('crm.manage'))

پیگیری بعدی

@csrf
@endif

تاریخچه نوبت‌ها

@foreach($appointments as $a)@endforeach
خدمتتاریخوضعیت
{{ $a->service_name }}{{ \App\Support\Persian::date($a->starts_at) }}@include('panel.status',['status'=>$a->status])
@endsection