Example #1
0
 public static function SuccessBill()
 {
     $newBill = Bill::join("customers", "customers.id", "=", "bills.customer_id")->select(["bills.*", "customers.id as customerId", "customers.last_name"])->where("bills.status", 1)->paginate(100);
     return $newBill;
 }