Browse Source

add api dealer claim

ifah
Siti Hajar Ibrahim 5 years ago
parent
commit
3c61a24eed
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Api/FormController.php

+ 1
- 1
app/Http/Controllers/Api/FormController.php View File

@@ -232,7 +232,7 @@ class FormController extends BaseController
$end = $dateE->copy()->endOfDay();

$result = array();
$data = DealerClaim::with('Subscriber','Staff')->whereBetween('created_at', array($start, $end))->get();
$data = DealerClaim::with('Subscriber','Staff')->whereBetween('submission_dt', array($start, $end))->get();

if(count($data) > 0) {
foreach($data as $f) {

Loading…
Cancel
Save