mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-02 17:58:43 +00:00
autofixes
This commit is contained in:
parent
17bcc4c577
commit
cbdd8635e7
|
|
@ -27,13 +27,22 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
abstract class FrequencyInterval extends Enum
|
||||
{
|
||||
public const SUNDAY = 1;
|
||||
|
||||
public const MONDAY = 2;
|
||||
|
||||
public const TUESDAY = 4;
|
||||
|
||||
public const WEDNESDAY = 8;
|
||||
|
||||
public const THURSDAY = 16;
|
||||
|
||||
public const FRIDAY = 32;
|
||||
|
||||
public const SATURDAY = 64;
|
||||
|
||||
public const DAY = 128;
|
||||
|
||||
public const WEEKDAY = 256;
|
||||
|
||||
public const WEEKENDDAY = 512;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,5 +27,6 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
abstract class ScheduleStatus extends Enum
|
||||
{
|
||||
public const ACTIVE = 1;
|
||||
|
||||
public const INACTIVE = 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template id="calendar-event-popup-tpl">
|
||||
<section id="calendar-event-popup" class="box w-50" style="z-index: 9; position: absolute; margin: 0 auto; left: 50%; top: 50%; transform: translate(-50%, -50%);">
|
||||
<header><h1><?= $this->getHtml('Event', 'Calendar') ?></h1></header>
|
||||
<header><h1><?= $this->getHtml('Event', 'Calendar'); ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
{"key": 1, "type": "dom.remove", "tpl": "calendar-event-popup", "aniOut": "fadeOut"}
|
||||
]
|
||||
}
|
||||
]'><?= $this->getHtml('Close', 'Calendar') ?></button>
|
||||
]'><?= $this->getHtml('Close', 'Calendar'); ?></button>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,6 @@ declare(strict_types=1);
|
|||
?>
|
||||
<div id="calendar-dashboard" class="col-xs-12 col-md-6" draggable="true">
|
||||
<div class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('Calendar', 'Calendar') ?></div>
|
||||
<div class="portlet-head"><?= $this->getHtml('Calendar', 'Calendar'); ?></div>
|
||||
<?= $this->getData('calendar')->render($this->getData('cal')); ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ namespace Modules\Calendar\tests\Admin;
|
|||
class AdminTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected const MODULE_NAME = 'Calendar';
|
||||
|
||||
protected const URI_LOAD = 'http://127.0.0.1/en/backend/calendar';
|
||||
|
||||
use \Modules\tests\ModuleTestTrait;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user