fix: sales quantity should use rounded float numbers
This commit is contained in:
@@ -125,7 +125,7 @@ class Transaction extends Model
|
||||
|
||||
public function scopeBeforeDate($query, $date)
|
||||
{
|
||||
return $query->whereDate('date', '<', $date);
|
||||
return $query->whereDate('date', '<=', $date);
|
||||
}
|
||||
|
||||
public function scopeMyTransactions()
|
||||
|
||||
Reference in New Issue
Block a user