Files
firefly-iii/app/View/Components/Lists/Subscriptions.php
T

35 lines
710 B
PHP
Raw Normal View History

2026-06-12 06:01:28 +02:00
<?php
declare(strict_types=1);
2026-06-12 06:01:28 +02:00
namespace FireflyIII\View\Components\Lists;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Subscriptions extends Component
{
public array $bills;
public array $sums;
public array $totals;
2026-06-12 06:01:28 +02:00
/**
* Create a new component instance.
*/
public function __construct(array $bills, array $sums, array $totals)
{
$this->bills = $bills;
$this->sums = $sums;
2026-06-12 06:01:28 +02:00
$this->totals = $totals;
}
/**
* Get the view / contents that represent the component.
*/
public function render(): Closure|string|View
2026-06-12 06:01:28 +02:00
{
return view('components.lists.subscriptions');
}
}