Browse Source

see unatgged form

ifah
Siti Hajar Ibrahim 5 years ago
parent
commit
9a45776e15
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      app/Http/Controllers/Controller.php

+ 2
- 3
app/Http/Controllers/Controller.php View File

$result = array(); $result = array();
$untaggedform = Form::where('customer_category', null)->get(); $untaggedform = Form::where('customer_category', null)->get();


dd($untaggedform);

foreach ($untaggedform as $key => $a) { foreach ($untaggedform as $key => $a) {
$work_order = WorkOrder::where('_id', $a->_id)->get();
$work_order = WorkOrder::where('_id', $a->_id)->get();
dd($work_order);
array_push($result, array( array_push($result, array(
'wo' => $work_order->wo, 'wo' => $work_order->wo,
)); ));

Loading…
Cancel
Save