|
|
@@ -103,11 +103,9 @@
|
|
|
owners : [
|
|
|
@foreach($owners as $owner)
|
|
|
{ id : "{{$owner->id}}",
|
|
|
- relevance:[@foreach($owner->relevance ?? [] as $r)@json($r),@endforeach],
|
|
|
+ relevance:@json($owner->relevance),
|
|
|
customer_name:"{{$owner->customer ? $owner->customer->name : ''}}",
|
|
|
- //tax_rate : "{{--{{$owner->tax_rate}}--}}",
|
|
|
name : "{{$owner->name}}",
|
|
|
- //code : "{{--{{$owner->code}}--}}",
|
|
|
created_at : "{{$owner->created_at}}",
|
|
|
subjection : "{{$owner->subjection}}",
|
|
|
/*contracts : [
|
|
|
@@ -116,15 +114,9 @@
|
|
|
@endforeach--}}
|
|
|
],*/
|
|
|
customer_company_name:"{{$owner->customer ? $owner->customer->company_name : ''}}",
|
|
|
- //linkman:"{{--{{$owner->linkman}}--}}",
|
|
|
- //phone_number:"{{--{{$owner->phone_number}}--}}",
|
|
|
user_owner_group_name:"{{$owner->userOwnerGroup ? $owner->userOwnerGroup->name : ''}}",
|
|
|
user_work_group_name:"{{$owner->userWorkGroup ? $owner->userWorkGroup->name : ''}}",
|
|
|
- //owner_storage_price_model_using_type:"{{--{{ implode(",",array_unique(array_column(($owner->ownerStoragePriceModels)->toArray(),"using_type"))) }}--}}",
|
|
|
- //owner_area_report_accounting_area : "{{--{{ $owner->ownerAreaReport ? $owner->ownerAreaReport->accounting_area : '' }}--}}",
|
|
|
- //waring_line_on : "{{--{{$owner->waring_line_on}}--}}",
|
|
|
is_activation : "{{$owner->deleted_at ? '否' : '是'}}",
|
|
|
- //description : "{{--{{$owner->description}}--}}",
|
|
|
ownerStoragePriceModels : {!! $owner->ownerStoragePriceModels !!},
|
|
|
},
|
|
|
@endforeach
|