@php // Every CRM surface, grouped. Each: icon path, title, url, one-line what, how-to steps. $sections = [ [ 'group' => __('Sell — quote to cash'), 'blurb' => __('The path a sale takes: quote a price, get it accepted, turn it into a paid invoice.'), 'items' => [ [ 'title' => __('Estimates'), 'url' => url('/estimates'), 'tint' => ['#FEF3C7', '#B45309'], 'icon' => '', 'what' => __('A quick priced quote with line items and tax.'), 'steps' => [ __('Click "+ New estimate", add buyer + line items (total adds up live).'), __('Hit the green "Send on WhatsApp" to deliver the link to the buyer.'), __('When they accept, click "→ Invoice" to make a real invoice.'), ], ], [ 'title' => __('Proposals'), 'url' => url('/proposals'), 'tint' => ['#EDE9FE', '#6D28D9'], 'icon' => '', 'what' => __('A fuller pitch — same flow as estimates, for bigger deals.'), 'steps' => [ __('Create it, add scope as line items, set a "valid until" date.'), __('Send the link; the customer opens it and taps Accept or Decline.'), __('You get notified, then convert the winner to an invoice.'), ], ], [ 'title' => __('Invoices'), 'url' => url('/invoices'), 'tint' => ['#DCFCE7', '#0b7a4b'], 'icon' => '', 'what' => __('The real bill — numbered, PDF, shareable public link.'), 'steps' => [ __('Made in one click from an accepted quote — or "+ New invoice" manually.'), __('Share the /i/ link or send it; the buyer sees a proper invoice.'), __('Record what they pay in Payments to clear the balance.'), ], ], [ 'title' => __('Payments'), 'url' => url('/payments'), 'tint' => ['#E0F2FE', '#0369A1'], 'icon' => '', 'what' => __('Record money received and see what is still outstanding.'), 'steps' => [ __('Click "Record payment", pick the invoice, enter the amount.'), __('The invoice flips to Paid automatically when the balance clears.'), __('The aging panel shows who owes you and how overdue they are.'), ], ], ], ], [ 'group' => __('Deliver — after they pay'), 'blurb' => __('Track the work you promised and never miss a deadline.'), 'items' => [ [ 'title' => __('Projects'), 'url' => url('/projects'), 'tint' => ['#E0F2FE', '#0369A1'], 'icon' => '', 'what' => __('A board of the work you deliver — In progress / Overdue / Completed.'), 'steps' => [ __('Click "+ New project", link a company, set a due date.'), __('Drag the progress slider on the card as work gets done.'), __('At 100% it moves itself to Completed; late ones go to Overdue.'), ], ], [ 'title' => __('Tasks'), 'url' => url('/tasks'), 'tint' => ['#FCE7F3', '#BE185D'], 'icon' => '', 'what' => __('Your to-dos — assign, prioritize, get reminded.'), 'steps' => [ __('Add a task with a due date and who it is for.'), __('It shows in Overdue / Today / Upcoming buckets.'), __('You get an in-app + WhatsApp reminder near the due time.'), ], ], [ 'title' => __('Calendar'), 'url' => url('/calendar'), 'tint' => ['#DCFCE7', '#0b7a4b'], 'icon' => '', 'what' => __('One month grid of every deadline you have.'), 'steps' => [ __('Opens on this month — coloured bars are your dated items.'), __('Tasks, project due dates, deal closes and quote expiries, all mixed.'), __('Click any bar to jump to that item; use ‹ › to change month.'), ], ], ], ], [ 'group' => __('Organize + understand'), 'blurb' => __('Who your customers are, your pipeline, and how the business is doing.'), 'items' => [ [ 'title' => __('Contacts'), 'url' => url('/contacts'), 'tint' => ['#F1F5F9', '#334155'], 'icon' => '', 'what' => __('Every person — auto-captured from real WhatsApp chats.'), 'steps' => [__('Contacts appear on their own when people message you.'), __('Add tags, status and company to organize them.'), __('Open a contact to see their full history.')], ], [ 'title' => __('Companies'), 'url' => url('/companies'), 'tint' => ['#EDE9FE', '#6D28D9'], 'icon' => '', 'what' => __('Group contacts + deals under the business they belong to.'), 'steps' => [__('Create a company, then link its contacts and deals.'), __('The company page rolls up its people and revenue.'), __('Generate a client brief straight from the company.')], ], [ 'title' => __('Deals'), 'url' => url('/deals'), 'tint' => ['#DCFCE7', '#0b7a4b'], 'icon' => '', 'what' => __('Your sales pipeline — drag opportunities stage to stage.'), 'steps' => [__('Create a deal with a value and a stage.'), __('Drag its card across the board as it progresses.'), __('Mark Won/Lost; it feeds your revenue reports.')], ], [ 'title' => __('CRM dashboard'), 'url' => url('/crm'), 'tint' => ['#E0F2FE', '#0369A1'], 'icon' => '', 'what' => __('Deals, invoices, payments and tasks — one screen.'), 'steps' => [__('Opens with your key numbers for the month.'), __('Jump to the Revenue report for collected / outstanding / tax.'), __('Export any report to CSV or PDF.')], ], ], ], [ 'group' => __('The AI Copilot'), 'blurb' => __('Run everything above just by chatting — on the dashboard or from your own WhatsApp.'), 'items' => [ [ 'title' => __('AI CRM Copilot'), 'url' => url('/ai-crm'), 'tint' => ['#F3E8FF', '#7C3AED'], 'icon' => '', 'what' => __('Type in plain English; the AI does it and shows you before acting.'), 'steps' => [ __('Try: "create an estimate for Acme, 2h consulting at 80".'), __('Try: "send Priya the menu photography estimate".'), __('Anything that changes data waits for your OK first.'), ], ], ], ], ]; @endphp
{{-- Hero --}} {{-- The flow strip --}}
{{ __('The flow') }}
@foreach ([__('Estimate / Proposal'), __('Customer accepts'), __('Invoice'), __('Payment'), __('Project'), __('Calendar')] as $i => $step) @if ($i > 0)@endif {{ $step }} @endforeach
{{-- A worked example, start to finish --}} @php $brand = function_exists('brand_name') ? brand_name() : config('app.name'); $example = [ ['n' => 1, 'page' => __('Estimates'), 'title' => __('You quote a price'), 'body' => __('A customer (say Priya) asks on WhatsApp for menu photos. You open Estimates → + New estimate, add her name + number, and two lines: "Photo shoot ×1 = 12,000" and "Editing ×1 = 3,000". The total shows 15,000. Click Create — it becomes EST-0003.')], ['n' => 2, 'page' => __('Send'), 'title' => __('You send it — from your own WhatsApp'), 'body' => __('On that row you click the green Send. :brand sends Priya a WhatsApp from your connected number with a link. (Or in the AI chat you type "send Priya the menu photography estimate".)', ['brand' => $brand])], ['n' => 3, 'page' => __('Accept'), 'title' => __('Priya accepts — by herself'), 'body' => __('Priya taps the link, sees the price, and taps ✓ Accept. You get a notification. The estimate row now shows Accepted — no chasing, no phone call.')], ['n' => 4, 'page' => __('Invoice'), 'title' => __('It becomes a real invoice'), 'body' => __('You click → Invoice on the accepted estimate. :brand makes a proper numbered invoice (with PDF) from the same lines — you retype nothing. You send that to collect the money.', ['brand' => $brand])], ['n' => 5, 'page' => __('Payment'), 'title' => __('You record the payment'), 'body' => __('When Priya pays, open Payments → Record payment, pick the invoice, enter 15,000. The invoice flips to Paid automatically.')], ['n' => 6, 'page' => __('Project'), 'title' => __('You track the actual work'), 'body' => __('Now you have to shoot + edit. Projects → + New project "Priya photo shoot", due in a week. Drag the progress slider as you go; at 100% it marks Completed.')], ['n' => 7, 'page' => __('Calendar'), 'title' => __('Everything shows on one calendar'), 'body' => __('The project deadline, any tasks, and the quote\'s expiry all appear on Calendar — so your whole week is one screen.')], ]; @endphp
{{ __('A real example') }}

{{ __('From "how much?" to paid — one customer, seven steps') }}

    @foreach ($example as $s)
  1. {{ $s['n'] }} @if (! $loop->last)@endif
    {{ $s['title'] }} {{ $s['page'] }}

    {!! $s['body'] !!}

  2. @endforeach
{{ __('That is the entire system. Every page below is one part of this same loop — open any of them to try it.') }}
{{-- Sections --}} @foreach ($sections as $sec)

{{ $sec['group'] }}

{{ $sec['blurb'] }}

@foreach ($sec['items'] as $it)
{!! $it['icon'] !!} {{ __('Open') }}

{{ $it['title'] }}

{{ $it['what'] }}

    @foreach ($it['steps'] as $n => $step)
  1. {{ $n + 1 }} {{ $step }}
  2. @endforeach
@endforeach
@endforeach
{{ __('Tip: every page here is also in the top menu and on the More page.') }}