Guest User

Untitled

a guest
Jul 20th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. $shipmentsNotSent = DB::table('shipments')
  2. ->whereNull(['billedAt','agentBilling'])
  3. ->whereBetween('date', [$startDateNS, $nowNS])
  4. ->get();
  5.  
  6. public function getbillingUploadStatusAttribute(){
  7. $billingUploadStatus = $this->billingUpdates()->where([
  8. ['actionCategoryID', 1],
  9. ['actionID', 2]
  10. ])->orderBy('created_at','desc')->first();
  11. return $billingUploadStatus;
  12. }
Add Comment
Please, Sign In to add comment