@extends('admin.layouts.app') @section('title', __('admin.client_merge.title')) @section('content')

{{ __('admin.client_merge.intro') }}

{{-- The duplicate: everything it owns, about to move. --}}
{{ __('admin.client_merge.from') }}
#{{ $client->id }} {{ $client->full_name }}
{{ $client->email }}@if($client->phone_number) · {{ $client->phone_number }}@endif
@if((float) $client->credit > 0)
{{ __('admin.client_merge.balance', ['amount' => money_fmt($client->credit)]) }}
@endif @forelse($moves as $table => $n) @empty @endforelse
{{ __('admin.client_merge.table_'.$table) === 'admin.client_merge.table_'.$table ? \Illuminate\Support\Str::headline($table) : __('admin.client_merge.table_'.$table) }}{{ $n }}
{{ __('admin.client_merge.nothing') }}
{{-- The account that is kept. --}}
{{ __('admin.client_merge.into') }}
@if($suggestions->isNotEmpty() && ! $into)
{{ __('admin.client_merge.suggestions') }}
@endif @if($find !== '' && ! $into)
{{ __('admin.client_merge.not_found') }}
@endif @if($into)
#{{ $into->id }} {{ $into->full_name }}
{{ $into->email }}@if($into->phone_number) · {{ $into->phone_number }}@endif
@if($into->currency_id !== $client->currency_id)
{{ __('admin.client_merge.currency_warning') }}
@endif
@csrf
@endif
@endsection