Skip to content

Commit

Permalink
Fixes #484
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Feb 10, 2015
1 parent 2bae77b commit b360736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static function assetcount()
*/
public static function availassetcount()
{
return Asset::orderBy('asset_tag', 'ASC')->where('status_id', '=', 0)->where('assigned_to','=','0')->where('physical', '=', 1)->count();
return Asset::orderBy('asset_tag', 'ASC')->where('status_id', '=', 0)->where('physical', '=', 1)->count();
}

/**
Expand Down Expand Up @@ -244,7 +244,7 @@ public function scopePending($query)

public function scopeRTD($query)
{
return $query->where('status_id','=','0')->where('assigned_to','=','0');
return $query->where('status_id','=','0');
}


Expand Down

0 comments on commit b360736

Please sign in to comment.