@extends('layouts.app') @section('title', 'Delete all Listings') @section('breadcrumb') @endsection @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Warning — irreversible action

This will delete all master listings for {{ $company->name }}, including:

  • Chart of accounts, dimensions, tax codes, price levels
  • Customers, vendors, employees, and other names
  • Items, categories, warehouses, and units of measure
  • Exchange rates and accounting periods

Kept: company record, users, roles, settings, fiscal years, and currencies.

@if($hasTransactions)
Transactions still exist. Delete all transactions first before removing listings. Go to Delete All Transactions
@endif @if($total > 0)
Rows to be deleted ({{ number_format($total) }} total)
@foreach($counts as $table => $count) @endforeach
TableRows
{{ $table }} {{ number_format($count) }}
@else
No listing data found for this company.
@endif
Confirm deletion
@php $canDelete = $total > 0 && !$hasTransactions; @endphp
@csrf @method('DELETE')

Type {{ $company->name }} below to confirm.

@error('confirmation')
{{ $message }}
@enderror
@endsection