mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-08 19:08:40 +00:00
Implement new account selector
This commit is contained in:
parent
3ce7d3e0fe
commit
a30fca5b31
|
|
@ -53,7 +53,6 @@ final class ApiController extends Controller
|
||||||
if (($val['title'] = empty($request->getData('title')))
|
if (($val['title'] = empty($request->getData('title')))
|
||||||
|| ($val['plain'] = empty($request->getData('plain')))
|
|| ($val['plain'] = empty($request->getData('plain')))
|
||||||
|| ($val['due'] = !((bool) strtotime((string) $request->getData('due'))))
|
|| ($val['due'] = !((bool) strtotime((string) $request->getData('due'))))
|
||||||
|| ($val['forward'] = !(is_numeric($request->getData('forward') ?? 0)))
|
|
||||||
) {
|
) {
|
||||||
return $val;
|
return $val;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,9 +29,9 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<table class="layout wf-100" style="table-layout: fixed">
|
<table class="layout wf-100" style="table-layout: fixed">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iReceiver"><?= $this->getHtml('To') ?></label>
|
<tr><td><label for="iReceiver"><?= $this->getHtml('To') ?></label>
|
||||||
<tr><td><?= $this->getData('accGrpSelector')->render('iReceiver', true); ?>
|
<tr><td><?= $this->getData('accGrpSelector')->render('iReceiver', 'forward', true); ?>
|
||||||
<tr><td><label for="iObserver"><?= $this->getHtml('CC') ?></label>
|
<tr><td><label for="iObserver"><?= $this->getHtml('CC') ?></label>
|
||||||
<tr><td><?= $this->getData('accGrpSelector')->render('iCC', false); ?>
|
<tr><td><?= $this->getData('accGrpSelector')->render('iCC', 'cc', false); ?>
|
||||||
<tr><td><label for="iPriority"><?= $this->getHtml('Priority') ?></label>
|
<tr><td><label for="iPriority"><?= $this->getHtml('Priority') ?></label>
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<select id="iPriority" name="priority">
|
<select id="iPriority" name="priority">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user