show.blade.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @php
  2. use App\Models\Order;
  3. @endphp
  4. @extends('layouts.app')
  5. @section('content')
  6. <div class="px-3">
  7. <div class="row mb-2">
  8. <div class="col-md-6">
  9. <h3>
  10. Импорт {{ $import->id }}
  11. </h3>
  12. </div>
  13. <div class="col-md-6 text-end">
  14. <a href="{{ $previous_url ?? route('import.index', session('gp_import')) }}"
  15. class="btn btn-sm mb-1 btn-outline-secondary">Назад</a>
  16. </div>
  17. </div>
  18. <div class="row">
  19. <div class="col-xl-12 border-end">
  20. @include('partials.input', ['name' => 'type', 'title' => 'Тип', 'value' => $import->type, 'disabled' => true])
  21. @include('partials.input', ['name' => 'status', 'title' => 'Статус', 'value' => $import->status, 'disabled' => true])
  22. @include('partials.input', ['name' => 'filename', 'title' => 'Файл', 'value' => $import->filename, 'disabled' => true])
  23. @include('partials.input', ['name' => 'created_at', 'title' => 'Создан', 'value' => $import->created_at, 'disabled' => true])
  24. @include('partials.input', ['name' => 'updated_at', 'title' => 'Изменен', 'value' => $import->updated_at, 'disabled' => true])
  25. @include('partials.textarea', ['name' => 'result', 'title' => 'Результат', 'value' => $import->result , 'disabled' => true, 'size' => 30])
  26. </div>
  27. </div>
  28. </div>
  29. @if($errors->any())
  30. @dump($errors)
  31. @endif
  32. @endsection