flower.blade.php 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. @extends('mobile.layouts.app')
  2. @section('content')
  3. <div id="flower" class="container-fluid">
  4. <h5>화훼 시세</h5>
  5. <hr/>
  6. <dl>
  7. <dd>한국농수산식품유통공사가 제공하는 화훼 경매 시세 정보입니다.</dd>
  8. <dd>경매정보를 일자별로 비교 분석할 수 있도록 제공합니다.</dd>
  9. <dd>휴일 안내 : 매주 일요일, 신정(1월 1일), 설날 및 추석연휴</dd>
  10. <dd>제공날짜 : 절화(월~토), 난(월/목), 관엽(화/목)</dd>
  11. <dd>제공시간 : 절화(당일 9시이후), 난/관엽/춘란 (익일 오전 10시)</dd>
  12. </dl>
  13. <form name="f_service_flower" id="fServiceFlower" action="{{ route('service.price.flower') }}" method="get" accept-charset="UTF-8">
  14. <input type="hidden" name="page" value="{{ $page }}"/>
  15. <input type="hidden" name="per_page" value="{{ $perPage }}"/>
  16. <input type="hidden" name="p_name" value="{{ $pName }}"/>
  17. <div class="row align-items-center">
  18. <label for="gubun_1" class="col-auto col-sm-auto col-md-1">부류</label>
  19. <div class="col-10 col-sm">
  20. <div class="form-check-inline">
  21. <input type="radio" name="gubun" id="gubun_1" class="form-check-input" value="1" @if($gubun == '1') checked @endif/>
  22. <label for="gubun_1" class="form-check-label">절화</label>
  23. </div>
  24. <div class="form-check-inline">
  25. <input type="radio" name="gubun" id="gubun_3" class="form-check-input" value="3" @if($gubun == '3') checked @endif/>
  26. <label for="gubun_3" class="form-check-label">난</label>
  27. </div>
  28. <div class="form-check-inline">
  29. <input type="radio" name="gubun" id="gubun_2" class="form-check-input" value="2" @if($gubun == '2') checked @endif/>
  30. <label for="gubun_2" class="form-check-label">관엽</label>
  31. </div>
  32. <div class="form-check-inline">
  33. <input type="radio" name="gubun" id="gubun_4" class="form-check-input" value="4" @if($gubun == '4') checked @endif/>
  34. <label for="gubun_4" class="form-check-label">춘란</label>
  35. </div>
  36. </div>
  37. <label for="pName" class="col-auto col-sm-auto col-md-1">품목명</label>
  38. <div class="col col-sm pt-2 pt-sm-0">
  39. <select name="pid" id="pid" class="form-select" data-selected="{{ $pid }}">
  40. <option value="">전체</option>
  41. </select>
  42. </div>
  43. </div>
  44. <div class="row align-items-center">
  45. <label for="date" class="col-auto col-sm-auto col-md-1">기준일</label>
  46. <div class="col col-sm pt-2">
  47. <input type="text" name="date" id="date" class="form-control date-picker" value="{{ $date }}" />
  48. </div>
  49. <label for="gName" class="col-auto col-sm-auto col-md-1">품종명</label>
  50. <div class="col col-sm pt-2">
  51. <input type="text" name="g_name" id="gName" class="form-control" value="{{ $gName }}" />
  52. </div>
  53. </div>
  54. <div class="row justify-content-center mt-3">
  55. <div class="col col-sm-auto">
  56. <button type="submit" class="btn btn-dark w-100">검색</button>
  57. </div>
  58. </div>
  59. </form>
  60. <br/>
  61. <div class="row align-items-center">
  62. <div class="col">
  63. <label>전체 : {{ number_format($total) }}</label>
  64. </div>
  65. <div class="col-auto">
  66. <select name="per_page" id="perPage" class="form-select">
  67. <option value="10" @if($perPage == '10') selected @endif>10개씩</option>
  68. <option value="15" @if($perPage == '15') selected @endif>15개씩</option>
  69. <option value="20" @if($perPage == '20') selected @endif>20개씩</option>
  70. <option value="30" @if($perPage == '30') selected @endif>30개씩</option>
  71. <option value="40" @if($perPage == '40') selected @endif>40개씩</option>
  72. <option value="50" @if($perPage == '50') selected @endif>50개씩</option>
  73. </select>
  74. </div>
  75. </div>
  76. <br/>
  77. <div class="table-responsive">
  78. <table class="table table-hover table-bordered table-nowrap">
  79. <thead>
  80. <tr>
  81. <th>No</th>
  82. <th>경매일자</th>
  83. <th>화훼부류명</th>
  84. <th>품목명</th>
  85. <th>품종명</th>
  86. <th>등급명</th>
  87. <th>최고가</th>
  88. <th>최저가</th>
  89. <th>평균가</th>
  90. <th>총물량</th>
  91. <th>총금액</th>
  92. </tr>
  93. </thead>
  94. <tbody>
  95. @if($total > 0)
  96. @foreach($list as $row)
  97. <tr>
  98. <td>{{ $row['num'] }}</td>
  99. <td>{{ $row['saleDate'] }}</td>
  100. <td>{{ $row['flowerGubn'] }}</td>
  101. <td>{{ $row['pumName'] }}</td>
  102. <td>{{ $row['goodName'] }}</td>
  103. <td>{{ $row['lvNm'] }}</td>
  104. <td>{{ $row['maxAmt'] }}</td>
  105. <td>{{ $row['minAmt'] }}</td>
  106. <td>{{ $row['avgAmt'] }}</td>
  107. <td>{{ $row['totQty'] }}</td>
  108. <td>{{ $row['totAmt'] }}</td>
  109. </tr>
  110. @endforeach
  111. @else
  112. <tr>
  113. <td colspan="11">
  114. No data.
  115. </td>
  116. </tr>
  117. @endif
  118. <tr>
  119. <td colspan="6">합계</td>
  120. <td>{{ $maxAmt }}</td>
  121. <td>{{ $minAmt }}</td>
  122. <td>{{ $avgAmt }}</td>
  123. <td>{{ $totQty }}</td>
  124. <td>{{ $totAmt }}</td>
  125. </tr>
  126. </tbody>
  127. <tfoot>
  128. <tr>
  129. <td colspan="11">
  130. </td>
  131. </tr>
  132. </tfoot>
  133. </table>
  134. </div>
  135. {{ $list->withQueryString()->onEachSide(5)->links('component.pagination') }}
  136. <br/>
  137. <p>단위 : 속(분), 원/속(분)</p>
  138. <dl>
  139. <dt>주의 사항</dt>
  140. <dd><small>화훼류경매시세는 양재동 화훼공판장 중도매인들이 전자식 경매를 통하여 낙찰받은 물량의 가격이며, 중도매인들의 제비용 등이 전혀 포함되어 있지 않으므로 도소매 구입금액과 차이가 있을 수 있습니다.</small></dd>
  141. <dd><small>절화류 화목토 요일은 작은 장인 관계로 거래량이 저조하기 때문에 적정 가격형성이 되지 않습니다. 따라서 화,목,토요일 경매시세는 제공되지 않으며 시세자료 비교시는 거래량이 많은 큰 장인 월,수,금요일 자료를 참조하시기 바랍니다.</small></dd>
  142. </dl>
  143. </div>
  144. @endsection
  145. @push('scripts')
  146. <script src="{{ asset('js/desktop/service/flower.js') }}" defer></script>
  147. @endpush