信呼OA版本v2.3.8
This commit is contained in:
17
webmain/flow/input/mode_jiabanAction.php
Normal file
17
webmain/flow/input/mode_jiabanAction.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
class mode_jiabanClassAction extends inputAction{
|
||||
|
||||
public function totalAjax()
|
||||
{
|
||||
$start = $this->post('stime');
|
||||
$end = $this->post('etime');
|
||||
$jiatype= (int)$this->post('jiatype');
|
||||
$date = c('date', true);
|
||||
$sj = $date->datediff('H', $start, $end);
|
||||
$jiafee = 0;
|
||||
if($jiatype==1)$jiafee = m('kaoqin')->jiafee($this->adminid, $sj, $start);
|
||||
|
||||
$this->returnjson(array($sj, '', $jiafee));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user