method getPriceLog documentation in bbn\Appui\Task
function($id)
{
if ($this->exists($id)
&& ($action_ins = $this->idAction('price_insert'))
&& ($action_upd = $this->idAction('price_update'))
&& ($action_del = $this->idAction('price_delete'))
){
return $this->db->rselect([
'table' => 'bbn_tasks_logs',
'where' => [
'conditions' => [[
'field' => 'id_task',
'value' => $id
], [
'logic' => 'OR',
'conditions' => [[
'field' => 'action',
'value' => $action_ins
], [
'field' => 'action',
'value' => $action_upd
], [
'field' => 'action',
'value' => $action_del
]]
]]
],
'order' => [[
'field' => 'chrono',
'dir' => 'DESC'
]]
]) ?: [];
}
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions