浏览代码

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(

正在加载...
取消
保存