chore(receivables): remove legacy-era receivables sources

This commit is contained in:
Darko Gjorgjijoski
2026-08-21 09:38:43 +02:00
parent c7130e1e17
commit d593cccccf
22 changed files with 0 additions and 1713 deletions
@@ -1,28 +0,0 @@
<?php
namespace App\Domains\Receivables\Http\Resources;
use App\Domains\Accounts\Http\Resources\CompanyResource;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class PaymentMethodResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param Request $request
*/
public function toArray($request): array
{
return [
'id' => $this->id,
'name' => $this->name,
'company_id' => $this->company_id,
'type' => $this->type,
'company' => $this->when($this->company()->exists(), function () {
return new CompanyResource($this->company);
}),
];
}
}