Пример #1
0
 private function _saveActivityLog($log)
 {
     doUserActivity::saveActivity('stock', $log);
 }
Пример #2
0
 private function updateLoggedInfo()
 {
     doUserActivity::saveActivity('updateloggedTime', 0);
 }
Пример #3
0
 private function saveActivity($totalamount, $customer_id)
 {
     $customer = Customer::find($customer_id);
     $customername = $customer != null ? $customer->pluck('name') : null;
     doUserActivity::saveActivity('sale', $totalamount, $customername, $this->receiptID);
 }