ソースを参照

fix get _id

ifah
親
コミット
14ec42b560
1個のファイルの変更、1行の追加、1行の削除
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php ファイルの表示



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


foreach ($work_order as $key => $wo) { foreach ($work_order as $key => $wo) {
array_push($result, array( array_push($result, array(

読み込み中…
キャンセル
保存