Files
kulakpos_web/Modules/Business/App/Exports/ExportSingleCustomerLedger.php
eko54r 05fd3230b8
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped
update marketing
2026-05-14 11:55:22 +07:00

29 lines
662 B
PHP

<?php
namespace Modules\Business\App\Exports;
use App\Models\Party;
use Maatwebsite\Excel\Concerns\FromView;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Collection;
class ExportSingleCustomerLedger implements FromView
{
public Collection $ledger;
public Party $party;
public function __construct(Collection $ledger, Party $party)
{
$this->ledger = $ledger;
$this->party = $party;
}
public function view(): View
{
return view('business::party-reports.customer-ledger.show-details.excel-csv', [
'ledger' => $this->ledger,
'party' => $this->party,
]);
}
}