@extends('template.layouts.template-base') @section('title', 'Customer Master') @section('content')

Customer Master

Export Import Clients @if (session()->has('failures'))
@foreach (session('failures') as $failure) @endforeach
Row Error
{{ $failure->row() }} {{ implode(', ', $failure->errors()) }}
@endif Add Customer
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif {{-- Tabs Navigation --}} {{-- Tab Content --}}
{{-- All Clients Tab - Show when on index route --}} @if (Request::routeIs('backend.manage-clients.index'))
@include('template.manage-clients.client-master.partials.clients-table')
@endif {{-- Drafts Tab - Show when on drafts route --}} @if (Request::routeIs('backend.manage-clients.drafts.index'))
@include('template.manage-clients.client-master.partials.drafts-table')
@endif
@endsection @section('scripts') @endsection