@extends('mainlayout.layout') @section('title', config('app.name') . ' | New Support Case') @section('topbar-search', 'enabled') @section('content') Cases New support case Find the customer's order to load its customer, project, plot, and payment details. @csrf @if($errors->any()) Please review the form. @foreach($errors->all() as $error){{ $error }}@endforeach @endif Context Order ID Recommended Search all customer orders; the latest 10 appear by default. Project If no order Not selected @foreach($properties as $property) id)>{{ $property->name }} @endforeach Source @foreach(['phone' => 'Phone', 'whatsapp' => 'WhatsApp', 'email' => 'Email', 'portal' => 'Portal', 'mini_app' => 'Mini app'] as $value => $label) {{ $label }} @endforeach Type @foreach(\App\Models\SupportCase::TYPES as $type) {{ ucfirst($type) }} @endforeach Priority @foreach(\App\Models\SupportCase::PRIORITIES as $priority) {{ ucfirst($priority) }} @endforeach Selected order Customer Phone Project Plot Payment plan Order amount Amount paid Balance Issue Subject Other subject Description {{ old('description') }} The suggested description can be edited before the case is created. Cancel Create case @endsection @push('scripts') @endpush
Find the customer's order to load its customer, project, plot, and payment details.