瀏覽代碼

fixed npx

= 2 年之前
父節點
當前提交
b8cb133678
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      resources/views/layouts/patient.blade.php

+ 2 - 0
resources/views/layouts/patient.blade.php

@@ -410,9 +410,11 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
 										<div class="form-group">
 											<label class="control-label">Company </label>
 											<select name="companyUid" class="form-control">
+                                                @if($companies)
 												@foreach($companies as $company)
 												<option value="{{$company->uid}}">{{$company->name}}</option>
 												@endforeach
+                                                @endif
 											</select>
 										</div>
 										<div>