-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af1026b
commit e93e837
Showing
34 changed files
with
444 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/.idea | ||
/vendor | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
14 changes: 7 additions & 7 deletions
14
...criptionsEndingWithinPeriodWidget/renewed_subscriptions_ending_within_period_widget.latte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
<div class="row text-success"> | ||
<div class="col-md-2"> | ||
<p> | ||
<strong>{_dashboard.time.today}: </strong> {$subscriptionsRenewedToday} ks | ||
<strong>{_dashboard.time.today}: </strong> {$subscriptionsRenewedToday} {_system.pcs} | ||
<i data-toggle="tooltip" data-placement="top" title="{_dashboard.subscriptions.renewed.between.tooltip} {php echo date('d.m.Y', strtotime('today')) } 00:00:00 - 23:59:59" class="fa fa-question-circle"></i> | ||
</p> | ||
</div> | ||
|
||
<div class="col-md-2"> | ||
<p> | ||
<strong>{_dashboard.time.tomorrow}: </strong> {$subscriptionsRenewedTomorow} ks | ||
<strong>{_dashboard.time.tomorrow}: </strong> {$subscriptionsRenewedTomorow} {_system.pcs} | ||
<i data-toggle="tooltip" data-placement="top" title="{_dashboard.subscriptions.renewed.between.tooltip} {php echo date('d.m.Y', strtotime('tomorrow')) } 00:00:00 - 23:59:59" class="fa fa-question-circle"></i> | ||
</p> | ||
</div> | ||
|
||
<div class="col-md-2"> | ||
<p> | ||
<strong>{_dashboard.time.after_tomorrow}: </strong> {$subscriptionsRenewedAfterTomorow} ks | ||
<strong>{_dashboard.time.after_tomorrow}: </strong> {$subscriptionsRenewedAfterTomorow} {_system.pcs} | ||
<i data-toggle="tooltip" data-placement="top" title="{_dashboard.subscriptions.renewed.between.tooltip} {php echo date('d.m.Y', strtotime('+2 day')) } 00:00:00 - 23:59:59" class="fa fa-question-circle"></i> | ||
</p> | ||
</div> | ||
|
||
<div class="col-md-2"> | ||
<p> | ||
<strong>{_dashboard.time.seven_days}: </strong> {$subscriptionsRenewedInOneWeek} ks | ||
<strong>{_dashboard.time.seven_days}: </strong> {$subscriptionsRenewedInOneWeek} {_system.pcs} | ||
<i data-toggle="tooltip" data-placement="top" title="{_dashboard.subscriptions.renewed.between.tooltip} {php echo date('d.m.Y', strtotime('today')) } 00:00:00 - {php echo date('d.m.Y', strtotime('+7 days')) } 23:59:59" class="fa fa-question-circle"></i> | ||
</p> | ||
</div> | ||
|
||
<div class="col-md-2"> | ||
<p> | ||
<strong>{_dashboard.time.fourteen_days}: </strong> {$subscriptionsRenewedInTwoWeeks} ks | ||
<strong>{_dashboard.time.fourteen_days}: </strong> {$subscriptionsRenewedInTwoWeeks} {_system.pcs} | ||
<i data-toggle="tooltip" data-placement="top" title="{_dashboard.subscriptions.renewed.between.tooltip} {php echo date('d.m.Y', strtotime('today')) } 00:00:00 - {php echo date('d.m.Y', strtotime('+14 days')) } 23:59:59" class="fa fa-question-circle"></i> | ||
</p> | ||
</div> | ||
|
||
<div class="col-md-2"> | ||
<p> | ||
<strong>{_dashboard.time.thirtyone_days}: </strong> {$subscriptionsRenewedInOneMonth} ks | ||
<strong>{_dashboard.time.thirtyone_days}: </strong> {$subscriptionsRenewedInOneMonth} {_system.pcs} | ||
<i data-toggle="tooltip" data-placement="top" title="{_dashboard.subscriptions.renewed.between.tooltip} {php echo date('d.m.Y', strtotime('today')) } 00:00:00 - {php echo date('d.m.Y', strtotime('+31 days')) } 23:59:59" class="fa fa-question-circle"></i> | ||
</p> | ||
</div> | ||
</div> | ||
</div> |
12 changes: 6 additions & 6 deletions
12
...nts/SubscriptionsEndingWithinPeriodWidget/subscriptions_ending_within_period_widget.latte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/dataproviders/SubscriptionTypeFormProviderInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Crm\SubscriptionsModule\DataProvider; | ||
|
||
use Crm\ApplicationModule\DataProvider\DataProviderInterface; | ||
use Nette\Application\UI\Form; | ||
|
||
interface SubscriptionTypeFormProviderInterface extends DataProviderInterface | ||
{ | ||
public function provide(array $params): Form; | ||
|
||
public function formSucceeded($form, $values); | ||
} |
Oops, something went wrong.