This commit is contained in:
hackerESQ
2024-08-29 23:36:44 -05:00
parent 2febed20ae
commit df1071d628
13 changed files with 204 additions and 64 deletions
+8 -3
View File
@@ -12,15 +12,20 @@ class BackupExport implements WithMultipleSheets
{
use Exportable;
public function __construct(
public bool $empty = false
)
{ }
/**
* @return array
*/
public function sheets(): array
{
return [
new PortfoliosSheet,
new TransactionsSheet,
new DailyChangesSheet
new PortfoliosSheet($this->empty),
new TransactionsSheet($this->empty),
new DailyChangesSheet($this->empty)
];
}
}