mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-11 12:28:39 +00:00
crash backup
This commit is contained in:
parent
2a8aa4e961
commit
7af0be1979
|
|
@ -141,7 +141,7 @@ final class BackendController extends Controller
|
|||
->with('companyHistory/position')
|
||||
->with('educationHistory')
|
||||
->with('workHistory')
|
||||
->where('id', (int) $request->getData('id'))
|
||||
->where('id', $request->getDataInt('id') ?? 0)
|
||||
->sort('companyHistory/end', OrderType::DESC)
|
||||
->sort('educationHistory/start', OrderType::DESC)
|
||||
->sort('workHistory/start', OrderType::DESC)
|
||||
|
|
@ -282,7 +282,7 @@ final class BackendController extends Controller
|
|||
|
||||
$histories = EmployeeHistoryMapper::getAll()
|
||||
->where('unit', $this->app->unitId)
|
||||
->where('department', (int) $request->getData('id'))
|
||||
->where('department', $request->getDataInt('id') ?? 0)
|
||||
->where('end', null)
|
||||
->executeGetArray();
|
||||
|
||||
|
|
@ -329,7 +329,7 @@ final class BackendController extends Controller
|
|||
|
||||
$histories = EmployeeHistoryMapper::getAll()
|
||||
->where('unit', $this->app->unitId)
|
||||
->where('position', (int) $request->getData('id'))
|
||||
->where('position', $request->getDataInt('id') ?? 0)
|
||||
->where('end', null)
|
||||
->executeGetArray();
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ echo $this->data['nav']->render();
|
|||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<label for="iAccount"><?= $this->getHtml('Account', 'Admin'); ?></label>
|
||||
<?= $this->getData('accSelector')->render('iAccount', 'accounts', true); ?>
|
||||
<?= $this->data['accSelector']->render('iAccount', 'accounts', true); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user