Skip to content

Commit

Permalink
Exporty (upravený formát data) (#907)
Browse files Browse the repository at this point in the history
* Opravy registračního formuláře (#893)

* fee fix

* min/max age warning fixed

* allow role change with registered patrols

* group name in headline

* agreement text

* reformat html

* confirmed application warning

* confirm email

* phpstan

* headline changed

* quotes removed

* database dump detailed error

* skip db backup

Co-authored-by: Jan Staněk <jan.stanek2@firma.seznam.cz>

* date format fix

* datetime->date

windows problem s znakem :

Co-authored-by: Jan Staněk <jan@jstanek.cz>
Co-authored-by: Jan Staněk <jan.stanek2@firma.seznam.cz>
Co-authored-by: bojovyletoun <>
  • Loading branch information
3 people committed Feb 14, 2023
1 parent 86c9003 commit 700a799
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/AdminModule/Components/GroupsGridControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public function createComponentPatrolsGrid(string $name): DataGrid
$grid->setItemsPerPageList([25, 50, 100, 250, 500]);
$grid->setStrictSessionFilterValues(false);

$stamp = date('Y-m-d H.m.s');
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Skupiny ' . $stamp . 'csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Skupiny fi ' . $stamp . 'csv');
$stamp = date(Helpers::DATE_FORMAT);
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Skupiny ' . $stamp . '.csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Skupiny fi ' . $stamp . '.csv');

$grid->addGroupAction('Export seznamu skupin')
->onSelect[] = [$this, 'groupExportUsers'];
Expand Down
6 changes: 3 additions & 3 deletions app/AdminModule/Components/PatrolsGridControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public function createComponentPatrolsGrid(string $name): DataGrid
$grid->setItemsPerPageList([25, 50, 100, 250, 500]);
$grid->setStrictSessionFilterValues(false);

$stamp = date('Y-m-d H.m.s');
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Druziny ' . $stamp . 'csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Druziny fi ' . $stamp . 'csv');
$stamp = date(Helpers::DATE_FORMAT);
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Druziny ' . $stamp . '.csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Druziny fi ' . $stamp . '.csv');

$grid->addGroupAction('Export seznamu družin')
->onSelect[] = [$this, 'groupExportUsers'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</div>
</div>
{elseif empty($skautIsRoles)}
Ve skautISu nemáš dostatečné oprávnění. Registrace vyžaduje přístup k informacím
o členech (typicky admin oddílu/střediska).
Ve skautISu nemáš dostatečné oprávnění. Registrace vyžaduje přístup k informacím
o členech (typicky admin oddílu/střediska).
{elseif $step === 'members'}
{control groupMembersForm}
{elseif $step === 'additional_info'}
Expand Down

0 comments on commit 700a799

Please sign in to comment.