|
@@ -94,6 +94,7 @@ class Point extends Model
|
|
|
$points = Point
|
|
|
::where('client_id', $_patient->id)
|
|
|
->where('category', $_category)
|
|
|
+ ->where('is_removed_due_to_entry_error', false)
|
|
|
->where(function ($query1) use ($_note) {
|
|
|
$query1
|
|
|
->where('addition_reason_category', 'ON_INTAKE')
|
|
@@ -124,6 +125,7 @@ class Point extends Model
|
|
|
$points = Point
|
|
|
::where('client_id', $_patient->id)
|
|
|
->where('category', $_category)
|
|
|
+ ->where('is_removed_due_to_entry_error', false)
|
|
|
->where(function ($query1) use ($_note) {
|
|
|
$query1
|
|
|
->where('is_removed', false)
|