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

This will delete all transaction data for {{ $company->name }}, including:

  • Vouchers, journal entries, and ledger postings
  • Opening balances, stock movements, and inventory transactions
  • Sales & purchase documents (orders, invoices, bills, payments)
  • Audit trail entries for this company

Kept: users, roles, settings, fiscal years, currencies, chart of accounts, and other master listings. Use Delete all Listings separately if you also need to clear master data.

@if($total > 0)
Rows to be deleted ({{ number_format($total) }} total)
@foreach($counts as $table => $count) @endforeach
TableRows
{{ $table }} {{ number_format($count) }}
@else
No transaction data found for this company.
@endif
Confirm deletion
@csrf @method('DELETE')

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

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