Added usage graph (ADSL), improved logging for usage collection (ADSL)
This commit is contained in:
@@ -29,7 +29,13 @@ class AdslSupplier extends Model
|
||||
|
||||
/** METHODS **/
|
||||
|
||||
public function traffic_mismatch(Carbon $date): Collection
|
||||
/**
|
||||
* Return the traffic records, that were not matched to a service.
|
||||
*
|
||||
* @param Carbon $date
|
||||
* @return Collection
|
||||
*/
|
||||
public function trafficMismatch(Carbon $date): Collection
|
||||
{
|
||||
return AdslTraffic::where('date',$date->format('Y-m-d'))
|
||||
->where('supplier_id',$this->id)
|
||||
|
Reference in New Issue
Block a user