|
@@ -312,8 +312,13 @@
|
|
|
<div>
|
|
<div>
|
|
|
<input type="hidden" name="order_id" value="{{ $order->id }}">
|
|
<input type="hidden" name="order_id" value="{{ $order->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">
|
|
|
|
|
+ <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">
|
|
|
<label for="deleteOldRecords" class="form-check-label mb-2">Удалить старые записи в графике для этой площадки?</label><br>
|
|
<label for="deleteOldRecords" class="form-check-label mb-2">Удалить старые записи в графике для этой площадки?</label><br>
|
|
|
|
|
+
|
|
|
<button type="submit" class="btn btn-primary btn-sm">Обновить график</button>
|
|
<button type="submit" class="btn btn-primary btn-sm">Обновить график</button>
|
|
|
</div>
|
|
</div>
|
|
|
</form>
|
|
</form>
|
|
@@ -494,72 +499,5 @@
|
|
|
);
|
|
);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- {{--$('#installation_date').on('change', function () {--}}
|
|
|
|
|
- {{-- let installationDate = $(this).val();--}}
|
|
|
|
|
- {{-- $.post(--}}
|
|
|
|
|
- {{-- '{{ route('order.update', $order->id) }}',--}}
|
|
|
|
|
- {{-- {--}}
|
|
|
|
|
- {{-- '_token': '{{ csrf_token() }}',--}}
|
|
|
|
|
- {{-- id: '{{ $order->id }}',--}}
|
|
|
|
|
- {{-- installation_date: installationDate--}}
|
|
|
|
|
- {{-- },--}}
|
|
|
|
|
- {{-- function () {--}}
|
|
|
|
|
- {{-- $('.alerts').append(--}}
|
|
|
|
|
- {{-- '<div class="main-alert alert alert-success" role="alert">Обновлена дата выхода на монтаж!</div>'--}}
|
|
|
|
|
- {{-- );--}}
|
|
|
|
|
- {{-- setTimeout(function () {--}}
|
|
|
|
|
- {{-- $('.main-alert').fadeTo(2000, 500).slideUp(500, function () {--}}
|
|
|
|
|
- {{-- $(".main-alert").slideUp(500);--}}
|
|
|
|
|
- {{-- })--}}
|
|
|
|
|
- {{-- }, 3000);--}}
|
|
|
|
|
- {{-- }--}}
|
|
|
|
|
- {{-- );--}}
|
|
|
|
|
- {{--});--}}
|
|
|
|
|
-
|
|
|
|
|
- {{--$('#install_days').on('change', function () {--}}
|
|
|
|
|
- {{-- let installDays = $(this).val();--}}
|
|
|
|
|
- {{-- $.post(--}}
|
|
|
|
|
- {{-- '{{ route('order.update', $order->id) }}',--}}
|
|
|
|
|
- {{-- {--}}
|
|
|
|
|
- {{-- '_token' : '{{ csrf_token() }}',--}}
|
|
|
|
|
- {{-- id: '{{ $order->id }}',--}}
|
|
|
|
|
- {{-- install_days: installDays--}}
|
|
|
|
|
- {{-- },--}}
|
|
|
|
|
- {{-- function () {--}}
|
|
|
|
|
- {{-- $('.alerts').append(--}}
|
|
|
|
|
- {{-- '<div class="main-alert alert alert-success" role="alert">Обновлено количество дней на монтаж!</div>'--}}
|
|
|
|
|
- {{-- );--}}
|
|
|
|
|
- {{-- setTimeout(function () {--}}
|
|
|
|
|
- {{-- $('.main-alert').fadeTo(2000, 500).slideUp(500, function () {--}}
|
|
|
|
|
- {{-- $(".main-alert").slideUp(500);--}}
|
|
|
|
|
- {{-- })--}}
|
|
|
|
|
- {{-- }, 3000);--}}
|
|
|
|
|
- {{-- }--}}
|
|
|
|
|
- {{-- );--}}
|
|
|
|
|
- {{--});--}}
|
|
|
|
|
-
|
|
|
|
|
- {{--$('#name').on('change', function () {--}}
|
|
|
|
|
- {{-- let name = $(this).val();--}}
|
|
|
|
|
- {{-- $.post(--}}
|
|
|
|
|
- {{-- '{{ route('order.update', $order->id) }}',--}}
|
|
|
|
|
- {{-- {--}}
|
|
|
|
|
- {{-- '_token' : '{{ csrf_token() }}',--}}
|
|
|
|
|
- {{-- id: '{{ $order->id }}',--}}
|
|
|
|
|
- {{-- name: name--}}
|
|
|
|
|
- {{-- },--}}
|
|
|
|
|
- {{-- function () {--}}
|
|
|
|
|
- {{-- $('.alerts').append(--}}
|
|
|
|
|
- {{-- '<div class="main-alert alert alert-success" role="alert">Обновлено название!</div>'--}}
|
|
|
|
|
- {{-- );--}}
|
|
|
|
|
- {{-- setTimeout(function () {--}}
|
|
|
|
|
- {{-- $('.main-alert').fadeTo(2000, 500).slideUp(500, function () {--}}
|
|
|
|
|
- {{-- $(".main-alert").slideUp(500);--}}
|
|
|
|
|
- {{-- })--}}
|
|
|
|
|
- {{-- }, 3000);--}}
|
|
|
|
|
- {{-- }--}}
|
|
|
|
|
- {{-- );--}}
|
|
|
|
|
- {{--});--}}
|
|
|
|
|
-
|
|
|
|
|
</script>
|
|
</script>
|
|
|
@endpush
|
|
@endpush
|