index.blade.php 1.1 KB

1234567891011121314151617181920212223242526272829
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="row mb-2">
  4. <div class="col-12">
  5. <h3>Настройки</h3>
  6. </div>
  7. </div>
  8. <form action="{{ route('admin.settings.store') }}" method="post">
  9. @csrf
  10. @include('partials.select', [
  11. 'name' => 'default_maf_order_user_id',
  12. 'title' => 'Пользователь по умолчанию для заказов МАФ',
  13. 'options' => $users,
  14. 'value' => old('default_maf_order_user_id', $defaultMafOrderUserId),
  15. 'first_empty' => true,
  16. ])
  17. @include('partials.select', [
  18. 'name' => 'reclamation_act_representative_user_id',
  19. 'title' => 'Представитель компании для акта рекламаций',
  20. 'options' => $users,
  21. 'value' => old('reclamation_act_representative_user_id', $reclamationActRepresentativeUserId),
  22. 'first_empty' => true,
  23. ])
  24. @include('partials.submit', ['name' => 'Сохранить'])
  25. </form>
  26. @endsection