@extends('layouts.dashboard') @section('title', 'Export Installation Required') @section('content')

Package Installation Required

To export reports in {{ $package == 'excel' ? 'Excel' : 'PDF' }} format, you need to install the required package.

Installation Instructions

1. Run the following command in your terminal:

{{ $install_command }}

2. After installation, publish the configuration (if needed):

@if($package == 'excel') php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config @else php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider" @endif

3. Clear the cache:

php artisan config:clear
php artisan cache:clear

Note

{{ $package == 'excel' ? 'The Excel export feature allows you to download reports in .xlsx format for further analysis in Microsoft Excel, Google Sheets, or other spreadsheet applications.' : 'The PDF export feature allows you to generate professional-looking reports that can be printed or shared digitally while preserving formatting.' }}

Back to Reports
Need help? Contact your system administrator.
@endsection