|
@@ -33,9 +33,10 @@
|
|
|
<input type="hidden" id="order_id" name="order_id" value="{{ $reclamation->order_id}}">
|
|
<input type="hidden" id="order_id" name="order_id" value="{{ $reclamation->order_id}}">
|
|
|
<input type="hidden" name="previous_url" value="{{ $previous_url ?? '' }}">
|
|
<input type="hidden" name="previous_url" value="{{ $previous_url ?? '' }}">
|
|
|
|
|
|
|
|
- @include('partials.input', ['name' => 'order_name', 'title' => 'Площадка', 'disabled' => true, 'value' => $reclamation->order->common_name ?? ''])
|
|
|
|
|
|
|
+ @include('partials.link', ['title' => 'Площадка', 'href' => route('order.show', $reclamation->order_id), 'text' => $reclamation->order->common_name ?? ''])
|
|
|
@include('partials.select', ['name' => 'status_id', 'title' => 'Статус', 'options' => $statuses, 'value' => $reclamation->status_id ?? old('status_id'), 'disabled' => !hasRole('admin,manager')])
|
|
@include('partials.select', ['name' => 'status_id', 'title' => 'Статус', 'options' => $statuses, 'value' => $reclamation->status_id ?? old('status_id'), 'disabled' => !hasRole('admin,manager')])
|
|
|
@include('partials.select', ['name' => 'user_id', 'title' => 'Менеджер', 'options' => $users, 'value' => $reclamation->user_id ?? old('user_id') ?? auth()->user()->id, 'disabled' => !hasRole('admin,manager')])
|
|
@include('partials.select', ['name' => 'user_id', 'title' => 'Менеджер', 'options' => $users, 'value' => $reclamation->user_id ?? old('user_id') ?? auth()->user()->id, 'disabled' => !hasRole('admin,manager')])
|
|
|
|
|
+ @include('partials.input', ['name' => 'maf_installation_year', 'title' => 'Год установки МАФ', 'type' => 'text', 'value' => $reclamation->order->year, 'disabled' => true])
|
|
|
@include('partials.input', ['name' => 'create_date', 'title' => 'Дата создания', 'type' => 'date', 'required' => true, 'value' => $reclamation->create_date ?? date('Y-m-d'), 'disabled' => !hasRole('admin,manager')])
|
|
@include('partials.input', ['name' => 'create_date', 'title' => 'Дата создания', 'type' => 'date', 'required' => true, 'value' => $reclamation->create_date ?? date('Y-m-d'), 'disabled' => !hasRole('admin,manager')])
|
|
|
@include('partials.input', ['name' => 'finish_date', 'title' => 'Дата завершения', 'type' => 'date', 'required' => true, 'value' => $reclamation->finish_date ?? date('Y-m-d', strtotime('+30 days')), 'disabled' => !hasRole('admin,manager')])
|
|
@include('partials.input', ['name' => 'finish_date', 'title' => 'Дата завершения', 'type' => 'date', 'required' => true, 'value' => $reclamation->finish_date ?? date('Y-m-d', strtotime('+30 days')), 'disabled' => !hasRole('admin,manager')])
|
|
|
@include('partials.select', ['name' => 'brigadier_id', 'title' => 'Бригадир', 'options' => $brigadiers, 'value' => $reclamation->brigadier_id ?? old('brigadier_id'), 'disabled' => !hasRole('admin,manager'), 'first_empty' => true])
|
|
@include('partials.select', ['name' => 'brigadier_id', 'title' => 'Бригадир', 'options' => $brigadiers, 'value' => $reclamation->brigadier_id ?? old('brigadier_id'), 'disabled' => !hasRole('admin,manager'), 'first_empty' => true])
|
|
@@ -581,7 +582,7 @@
|
|
|
<input type="hidden" name="reclamation_id" value="{{ $reclamation->id }}">
|
|
<input type="hidden" name="reclamation_id" value="{{ $reclamation->id }}">
|
|
|
{{-- <textarea name="comment" placeholder="Комментарий для графика" class="form-control mb-3"></textarea>--}}
|
|
{{-- <textarea name="comment" placeholder="Комментарий для графика" class="form-control mb-3"></textarea>--}}
|
|
|
|
|
|
|
|
- <input type="checkbox" checked="checked" id="sendNotifications" name="send_notifications" class="form-check-inline">
|
|
|
|
|
|
|
+ <input type="checkbox" checked="checked" id="sendNotifications" name="send_notifications" value="1" class="form-check-inline">
|
|
|
<label for="sendNotifications" class="form-check-label mb-2">Уведомить менеджера и бригадира</label><br>
|
|
<label for="sendNotifications" class="form-check-label mb-2">Уведомить менеджера и бригадира</label><br>
|
|
|
|
|
|
|
|
<input type="checkbox" id="deleteOldRecords" name="delete_old_records" class="form-check-inline">
|
|
<input type="checkbox" id="deleteOldRecords" name="delete_old_records" class="form-check-inline">
|