shop_dash.blade.php 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  1. @extends('layouts.master')
  2. @section('title', 'Dashboard')
  3. @section('content')
  4. <!-- Global stylesheets -->
  5. <link href="{{ csset('/css/dashboard/components.min.css') }}" rel="stylesheet" type="text/css">
  6. <!-- /global stylesheets -->
  7. <script src="{{ csset('/js/dashboard/echarts.min.js') }}"></script>
  8. {{-- <script src="/js/dashboard/dashboard.js"></script> --}}
  9. <script src="{{ csset('/js/dashboard/streamgraph.js') }}"></script>
  10. <script src="{{ csset('/js/dashboard/sparklines.js') }}"></script>
  11. <script src="{{ csset('/js/dashboard/lines.js') }}"></script>
  12. <script src="{{ csset('/js/dashboard/areas.js') }}"></script>
  13. <script src="{{ csset('/js/dashboard/donuts.js') }}"></script>
  14. <script src="{{ csset('/js/dashboard/bars.js') }}"></script>
  15. <script src="{{ csset('/js/dashboard/progress.js') }}"></script>
  16. <script src="{{ csset('/js/dashboard/heatmaps.js') }}"></script>
  17. <script src="{{ csset('/js/dashboard/pies.js') }}"></script>
  18. <script src="{{ csset('/js/dashboard/bullets.js') }}"></script>
  19. <style>
  20. .content {
  21. padding: 0;
  22. }
  23. .content>.content {
  24. padding: 0.5rem;
  25. }
  26. </style>
  27. <div class="content dbr_standard1_dash">
  28. <div class="row">
  29. <div class="col-xl-8">
  30. <!-- 색깔 카드 -->
  31. <div class="summary row">
  32. <!-- 신규주문 -->
  33. <div class="col-lg-4">
  34. <div class="new_order card bg-teal-400">
  35. <div class="card-body">
  36. <div class="d-flex">
  37. <h3 class="font-weight-semibold mb-0">{{ number_format($listType1Book['Book'][0]['Page'][0]['C1'] ?: 0) }} 원</h3>
  38. <span class="badge bg-teal-800 badge-pill align-self-center ml-auto">신규주문</span> </div>
  39. <div> 배송완료 {{ $listType1Book['Book'][0]['Page'][0]['C2'] }}
  40. <div class="font-size-sm opacity-75">{{ $listType1Book['Book'][0]['Page'][0]['C3'] }} 건</div>
  41. </div>
  42. </div>
  43. {{-- <div class="container-fluid">--}}
  44. {{-- <div id="members-online"></div>--}}
  45. {{-- </div>--}}
  46. </div>
  47. </div>
  48. <!-- //신규주문 끝 -->
  49. <!-- 처리지연 -->
  50. <div class="col-lg-4">
  51. <div class="card bg-pink-400">
  52. <div class="card-body">
  53. <div class="d-flex">
  54. <h3 class="font-weight-semibold mb-0">{{ $listType1Book['Book'][1]['Page'][0]['C1'] }} 건</h3>
  55. <span class="badge bg-pink-800 badge-pill align-self-center ml-auto">처리지연</span>
  56. </div>
  57. <div> {{ number_format($listType1Book['Book'][1]['Page'][0]['C2'] ?: 0) }} 원
  58. <div class="font-size-sm opacity-75">{{ $listType1Book['Book'][1]['Page'][0]['C3'] }}</div>
  59. </div>
  60. </div>
  61. {{-- <div id="server-load"></div>--}}
  62. </div>
  63. </div>
  64. <!--// 처리지연 끝 -->
  65. <!-- 취소반품 -->
  66. <div class="col-lg-4">
  67. <div class="card bg-blue-400">
  68. <div class="card-body">
  69. <div class="d-flex">
  70. <h3 class="font-weight-semibold mb-0">{{ number_format($listType1Book['Book'][1]['Page'][0]['C2'] ?: 0) }} 원</h3>
  71. <span class="badge bg-blue-800 badge-pill align-self-center ml-auto">취소/반품</span>
  72. </div>
  73. <div> 취소/반품 요청: {{ $listType1Book['Book'][2]['Page'][0]['C2'] }} 건
  74. <div class="font-size-sm opacity-75">교환 요청: {{ $listType1Book['Book'][2]['Page'][0]['C3'] }} 건</div>
  75. </div>
  76. </div>
  77. <div id="today-revenue"></div>
  78. </div>
  79. </div>
  80. <!--// 취소반품 끝 -->
  81. </div>
  82. <!-- //색깔 카드 끝 -->
  83. <!--row -->
  84. <div class="row">
  85. <!-- 신규주문내역-->
  86. <div class="new_order col-lg-6">
  87. <div class="card">
  88. <div class="card-header header-elements-inline">
  89. <h6 class="card-title">
  90. 신규 주문 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  91. </h6>
  92. <div class="header-elements"> <span class="font-weight-bold text-danger-600 ml-2">{{ number_format($listType1Book['Book'][3]['Page'][0]['C1'] ?: 0) }} 건 </span>
  93. </div>
  94. </div>
  95. <div class="card-body">
  96. <div>
  97. <div class="progress_tit">
  98. <span>입금대기</span>
  99. <span>{{ number_format($listType1Book['Book'][3]['Page'][0]['C2'] ?: 0) }} 건</span>
  100. </div>
  101. <div class="progress rounded-round">
  102. <div class="progress-bar" style="width: {{ $listType1Book['Book'][3]['Page'][0]['C7'] }}%">
  103. <span>{{ $listType1Book['Book'][3]['Page'][0]['C7'] }}%</span>
  104. </div>
  105. </div>
  106. </div>
  107. <div>
  108. <div class="progress_tit">
  109. <span>결제완료</span>
  110. <span>{{ number_format($listType1Book['Book'][3]['Page'][0]['C3'] ?: 0) }} 건</span>
  111. </div>
  112. <div class="progress rounded-round">
  113. <div class="progress-bar" style="width: {{ $listType1Book['Book'][3]['Page'][0]['C8'] }}%">
  114. <span>{{ $listType1Book['Book'][3]['Page'][0]['C8'] }}%</span>
  115. </div>
  116. </div>
  117. </div>
  118. <div>
  119. <div class="progress_tit">
  120. <span>배송준비</span>
  121. <span>{{ number_format($listType1Book['Book'][3]['Page'][0]['C4'] ?: 0) }} 건</span>
  122. </div>
  123. <div class="progress rounded-round">
  124. <div class="progress-bar" style="width: {{ $listType1Book['Book'][3]['Page'][0]['C9'] }}%">
  125. <span>{{ $listType1Book['Book'][3]['Page'][0]['C9'] }}%</span>
  126. </div>
  127. </div>
  128. </div>
  129. <div>
  130. <div class="progress_tit">
  131. <span>배송중</span>
  132. <span>{{ number_format($listType1Book['Book'][3]['Page'][0]['C5'] ?: 0) }} 건</span>
  133. </div>
  134. <div class="progress rounded-round">
  135. <div class="progress-bar" style="width: {{ $listType1Book['Book'][3]['Page'][0]['C10'] }}%">
  136. <span>{{ $listType1Book['Book'][3]['Page'][0]['C10'] }}%</span>
  137. </div>
  138. </div>
  139. </div>
  140. <div>
  141. <div class="progress_tit">
  142. <span>배송완료</span>
  143. <span>{{ number_format($listType1Book['Book'][3]['Page'][0]['C6'] ?: 0) }} 건</span>
  144. </div>
  145. <div class="progress rounded-round">
  146. <div class="progress-bar" style="width: {{ $listType1Book['Book'][3]['Page'][0]['C11'] }}%">
  147. <span>{{ $listType1Book['Book'][3]['Page'][0]['C11'] }}%</span>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. <!--//신규주문내역 -->
  155. <!-- 처리지연내역 -->
  156. <div class="delay col-lg-6">
  157. <div class="card">
  158. <div class="card-header header-elements-inline">
  159. <h6 class="card-title">
  160. 처리 지연
  161. </h6>
  162. <div class="header-elements"> <span class="font-weight-bold text-danger-600 ml-2">{{ number_format($listType1Book['Book'][4]['Page'][0]['C1'] ?: 0) }} 건</span>
  163. </div>
  164. </div>
  165. <div class="card-body">
  166. <div>
  167. <div class="progress_tit">
  168. <span>발송지연</span>
  169. <span>{{ number_format($listType1Book['Book'][4]['Page'][0]['C2'] ?: 0) }} 건</span>
  170. </div>
  171. <div class="progress rounded-round">
  172. <div class="progress-bar" style="width: {{ $listType1Book['Book'][4]['Page'][0]['C5'] }}%">
  173. <span>{{ $listType1Book['Book'][4]['Page'][0]['C5'] }}%</span>
  174. </div>
  175. </div>
  176. </div>
  177. <div>
  178. <div class="progress_tit">
  179. <span>반품지연</span>
  180. <span>{{ number_format($listType1Book['Book'][4]['Page'][0]['C3'] ?: 0) }} 건</span>
  181. </div>
  182. <div class="progress rounded-round">
  183. <div class="progress-bar" style="width: {{ $listType1Book['Book'][4]['Page'][0]['C6'] }}%">
  184. <span>{{ $listType1Book['Book'][4]['Page'][0]['C6'] }}%</span>
  185. </div>
  186. </div>
  187. </div>
  188. <div>
  189. <div class="progress_tit">
  190. <span>교환지연</span>
  191. <span>{{ number_format($listType1Book['Book'][4]['Page'][0]['C4'] ?: 0) }} 건</span>
  192. </div>
  193. <div class="progress rounded-round">
  194. <div class="progress-bar" style="width: {{ $listType1Book['Book'][4]['Page'][0]['C7'] }}%">
  195. <span>{{ $listType1Book['Book'][4]['Page'][0]['C7'] }}%</span>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <!--//처리지연내역 끝 -->
  203. <!-- 취소 반품 -->
  204. <div class="cancel col-lg-6">
  205. <div class="card">
  206. <div class="card-header header-elements-inline">
  207. <h6 class="card-title">
  208. 취소/반품/교환
  209. </h6>
  210. <div class="header-elements"> <span class="font-weight-bold text-danger-600 ml-2">{{ number_format($listType1Book['Book'][5]['Page'][0]['C1'] ?: 0) }} 건 </span>
  211. <div class="list-icons ml-3">
  212. <div class="dropdown"> <a href="#" class="list-icons-item dropdown-toggle" data-toggle="dropdown"><i class="icon-cog3"></i></a>
  213. <div class="dropdown-menu dropdown-menu-right"> <a href="#" class="dropdown-item"><i class="icon-sync"></i> Update data</a> <a href="#" class="dropdown-item"><i class="icon-list-unordered"></i> Detailed log</a> <a href="#" class="dropdown-item"><i class="icon-pie5"></i> Statistics</a>
  214. <div class="dropdown-divider"></div>
  215. <a href="#" class="dropdown-item"><i class="icon-cross3"></i> Clear list</a> </div>
  216. </div>
  217. </div>
  218. </div>
  219. </div>
  220. <div class="card-body">
  221. <div>
  222. <div class="progress_tit">
  223. <span>고객취소요청</span>
  224. <span>{{ number_format($listType1Book['Book'][5]['Page'][0]['C2'] ?: 0) }} 건</span>
  225. </div>
  226. <div class="progress rounded-round">
  227. <div class="progress-bar" style="width: {{ $listType1Book['Book'][5]['Page'][0]['C5'] }}%">
  228. <span>{{ $listType1Book['Book'][5]['Page'][0]['C5'] }}%</span>
  229. </div>
  230. </div>
  231. </div>
  232. <div>
  233. <div class="progress_tit">
  234. <span>반품요청</span>
  235. <span>{{ number_format($listType1Book['Book'][5]['Page'][0]['C3'] ?: 0) }} 건</span>
  236. </div>
  237. <div class="progress rounded-round">
  238. <div class="progress-bar" style="width: {{ $listType1Book['Book'][5]['Page'][0]['C6'] }}%">
  239. <span>{{ $listType1Book['Book'][5]['Page'][0]['C6'] }}%</span>
  240. </div>
  241. </div>
  242. </div>
  243. <div>
  244. <div class="progress_tit">
  245. <span>교환요청</span>
  246. <span>{{ number_format($listType1Book['Book'][5]['Page'][0]['C4'] ?: 0) }} 건</span>
  247. </div>
  248. <div class="progress rounded-round">
  249. <div class="progress-bar" style="width: {{ $listType1Book['Book'][5]['Page'][0]['C7'] }}%">
  250. <span>{{ $listType1Book['Book'][5]['Page'][0]['C7'] }}%</span>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. <!--//취소 반품 끝 -->
  258. <!-- 상품문의 -->
  259. <div class="inquiry col-lg-6">
  260. <div class="card">
  261. <div class="table-responsive">
  262. <table class="table text-nowrap">
  263. <thead>
  264. <tr>
  265. <th colspan="3">
  266. <form>
  267. <input type="hidden" name="notice_filter" value="{{ request('notice_filter') }}">
  268. <input type="hidden" name="review_filter" value="{{ request('review_filter') }}">
  269. 상품 문의 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  270. <select class="form-control custom-select" name="inquiry_filter" id="select_date" onchange="$(this).closest('form').submit()">
  271. <option value="">전체</option>
  272. <option value="0" {{ request('inquiry_filter') == '0' ? 'selected' : '' }}>답변대기</option>
  273. <option value="1" {{ request('inquiry_filter') == '1' ? 'selected' : '' }}>답변완료</option>
  274. </select>
  275. </form>
  276. </th>
  277. </tr>
  278. </thead>
  279. <tbody>
  280. @foreach($listType1Book['Book'][6]['Page'] ?? [] as $post)
  281. <tr>
  282. <td class="sort text-blue font-weight-semibold">{{ DataConverter::execute($post['C3'], "status('post-item-inquiry')") }}</td>
  283. <td>
  284. <div class="d-flex align-items-center">
  285. <div><a href="#" class="font-weight-semibold">{{ $post['C1'] }}</a></div>
  286. </div>
  287. </td>
  288. <td><span class="text-muted font-size-sm">{{ DataConverter::createFromTimestamp($post['C2'], 'm/d') }}</span></td>
  289. </tr>
  290. @endforeach
  291. </tbody>
  292. </table>
  293. </div>
  294. </div>
  295. </div>
  296. <!--// 상품문의 끝 -->
  297. <!-- 상품 관리 내역 -->
  298. <div class="manage col-lg-12">
  299. <div class="card">
  300. <div class="card-header header-elements-inline">
  301. <h6 class="card-title">
  302. 상품 관리 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  303. </h6>
  304. <div class="header-elements"> <span class="font-weight-bold text-danger-600 ml-2">{{ number_format($listType1Book['Book'][7]['Page'][0]['C1'] ?: 0) }} 건</span>
  305. </div>
  306. </div>
  307. <div class="card-body">
  308. <div>
  309. <div class="progress_tit">
  310. <span>판매중 상품</span>
  311. <span>{{ number_format($listType1Book['Book'][7]['Page'][0]['C2'] ?: 0) }} 건</span>
  312. </div>
  313. <div class="progress rounded-round">
  314. <div class="progress-bar" style="width: {{ $listType1Book['Book'][7]['Page'][0]['C5'] }}%">
  315. <span>{{ $listType1Book['Book'][7]['Page'][0]['C5'] }}%</span>
  316. </div>
  317. </div>
  318. </div>
  319. <div>
  320. <div class="progress_tit">
  321. <span>품절 상품</span>
  322. <span>{{ number_format($listType1Book['Book'][7]['Page'][0]['C3'] ?: 0) }} 건</span>
  323. </div>
  324. <div class="progress rounded-round">
  325. <div class="progress-bar" style="width: {{ $listType1Book['Book'][7]['Page'][0]['C6'] }}%">
  326. <span>{{ $listType1Book['Book'][7]['Page'][0]['C6'] }}%</span>
  327. </div>
  328. </div>
  329. </div>
  330. <div>
  331. <div class="progress_tit">
  332. <span>판매 중지 상품</span>
  333. <span>{{ number_format($listType1Book['Book'][7]['Page'][0]['C4'] ?: 0) }} 건</span>
  334. </div>
  335. <div class="progress rounded-round">
  336. <div class="progress-bar" style="width: {{ $listType1Book['Book'][7]['Page'][0]['C7'] }}%">
  337. <span>{{ $listType1Book['Book'][7]['Page'][0]['C7'] }}%</span>
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. </div>
  343. </div>
  344. <!--// 상품 관리 내역 끝 -->
  345. <!-- 상품 관리 -->
  346. <!-- <div class="inquiry col-lg-12">
  347. <div class="card">
  348. <div class="card-header header-elements-inline">
  349. <h6 class="card-title">
  350. <a href="#">상품 관리 <i class="fas fa-chevron-right"></i></a>
  351. </h6>
  352. <div class="header-elements">
  353. <div class="form-check form-check-inline form-check-right form-check-switchery form-check-switchery-sm">
  354. <label class="form-check-label">
  355. <input type="checkbox" class="form-input-switchery" id="realtime" checked="" data-fouc="" data-switchery="true" style="display: none;">
  356. <span class="switchery switchery-default" style="background-color: rgb(100, 189, 99); border-color: rgb(100, 189, 99); box-shadow: rgb(100, 189, 99) 0px 0px 0px 10px inset; transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;"><small style="left: 18px; transition: background-color 0.4s ease 0s, left 0.2s ease 0s; background-color: rgb(255, 255, 255);"></small></span>
  357. 실시간 보기
  358. </label>
  359. </div>
  360. <span class="badge bg-danger-400 badge-pill">+86</span>
  361. </div>
  362. </div>
  363. <div class="card-body">
  364. <div class="chart mb-3" id="bullets"></div>
  365. </div>
  366. </div>
  367. </div> -->
  368. <!--// 상품 관리 끝 -->
  369. </div>
  370. <!--// row 끝 -->
  371. </div>
  372. <div class="col-xl-4">
  373. <!-- 공지사항 -->
  374. <div class="notice card">
  375. <div class="table-responsive">
  376. <table class="table text-nowrap">
  377. <thead>
  378. <tr>
  379. <th colspan="3">
  380. <form>
  381. <input type="hidden" name="review_filter" value="{{ request('review_filter') }}">
  382. <input type="hidden" name="inquiry_filter" value="{{ request('inquiry_filter') }}">
  383. 공지사항 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  384. <select class="form-control custom-select" name="notice_filter" id="select_date" onchange="$(this).closest('form').submit()">
  385. <option value="">전체</option>
  386. <option value="0" {{ request('notice_filter') == '0' ? 'selected' : '' }}>임시저장</option>
  387. <option value="1" {{ request('notice_filter') == '1' ? 'selected' : '' }}>반복노출</option>
  388. <option value="2" {{ request('notice_filter') == '2' ? 'selected' : '' }}>노출누락</option>
  389. </select>
  390. </form>
  391. </th>
  392. </tr>
  393. </thead>
  394. <tbody>
  395. @foreach($listType1Book['Book'][8]['Page'] ?? [] as $post)
  396. <tr>
  397. <td class="sort text-blue font-weight-semibold">{{ DataConverter::execute($post['C3'], "status('post-notice')") }}</td>
  398. <td>
  399. <div class="d-flex align-items-center">
  400. <div class="badge badge-danger mr-1">{{ $post['C4'] === '1' ? '상단고정' : '' }}</div>
  401. <div><a href="#" class="font-weight-semibold">{{ $post['C1'] }}</a></div>
  402. </div>
  403. </td>
  404. <td><span class="text-muted font-size-sm">{{ DataConverter::createFromTimestamp($post['C2'], 'm/d') }}</span></td>
  405. </tr>
  406. @endforeach
  407. </tbody>
  408. </table>
  409. </div>
  410. </div>
  411. <!--//공지사항 끝 -->
  412. <!-- 리뷰 -->
  413. <div class="review card">
  414. <div class="table-responsive">
  415. <table class="table text-nowrap">
  416. <thead>
  417. <tr>
  418. <th colspan="4">
  419. <form>
  420. <input type="hidden" name="notice_filter" value="{{ request('notice_filter') }}">
  421. <input type="hidden" name="inquiry_filter" value="{{ request('inquiry_filter') }}">
  422. 리뷰 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  423. <select class="form-control custom-select" name="review_filter" id="select_date" onchange="$(this).closest('form').submit()">
  424. <option value="">전체</option>
  425. <option value="down" {{ request('review_filter') == 'down' ? 'selected' : '' }}>평점 낮은</option>
  426. <option value="up" {{ request('review_filter') == 'up' ? 'selected' : '' }}>평점 높은</option>
  427. </select>
  428. </form>
  429. </th>
  430. </tr>
  431. </thead>
  432. <tbody>
  433. @if(isset($listType1Book['Book'][9]['Page']))
  434. @foreach($listType1Book['Book'][9]['Page'] as $post)
  435. <tr>
  436. <td>
  437. <div class="d-flex align-items-center">
  438. {{-- <div class="badge badge-danger mr-1">평점낮은</div>--}}
  439. <div class="badge {{ $post['C2'] >= 4 ? 'bg-success' : 'badge-danger' }} mr-1">평점: {{ $post['C2'] }}</div>
  440. <div><a href="#" class="font-weight-semibold">{{ $post['C1'] }}</a></div>
  441. </div>
  442. </td>
  443. <td><span class="text-muted font-size-sm">{{ $post['C3'] }}</span></td>
  444. <td><span class="text-muted font-size-sm">{{ DataConverter::createFromTimestamp($post['C4'], 'm/d') }}</span></td>
  445. </tr>
  446. @endforeach
  447. @endif
  448. </tbody>
  449. </table>
  450. </div>
  451. </div>
  452. <!--//리뷰 끝 -->
  453. <!-- 판매통계 -->
  454. <div class="card">
  455. <div class="card-header header-elements-inline">
  456. <h6 class="card-title">
  457. 매출 통계 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  458. </h6>
  459. {{-- <div class="header-elements">--}}
  460. {{-- <select class="form-control custom-select" id="select_date">--}}
  461. {{-- <option value="val1">매출 금액</option>--}}
  462. {{-- <option value="val2">매출 건수</option>--}}
  463. {{-- <option value="val4">고객 수</option>--}}
  464. {{-- </select>--}}
  465. {{-- </div>--}}
  466. </div>
  467. <div class="card-body py-0">
  468. <div class="row text-center">
  469. <div class="col-4">
  470. <div class="mb-3">
  471. <h5 class="font-weight-semibold mb-0">{{ number_format($listType1Book['Book'][10]['Page'][0]['C1'] ?: 0) }}</h5>
  472. <span class="text-muted font-size-sm">매출 금액 합계</span> </div>
  473. </div>
  474. <div class="col-4">
  475. <div class="mb-3">
  476. <h5 class="font-weight-semibold mb-0">{{ number_format($listType1Book['Book'][10]['Page'][0]['C2'] ?: 0) }}</h5>
  477. <span class="text-muted font-size-sm">매출 건수 합계</span> </div>
  478. </div>
  479. <div class="col-4">
  480. <div class="mb-3">
  481. <h5 class="font-weight-semibold mb-0">{{ number_format($listType1Book['Book'][10]['Page'][0]['C3'] ?: 0) }}</h5>
  482. <span class="text-muted font-size-sm">고객 수 합계</span> </div>
  483. </div>
  484. </div>
  485. </div>
  486. <div class="chart mb-2" id="app_sales"></div>
  487. <!-- <div class="chart" id="monthly-sales-stats"></div> -->
  488. </div>
  489. <!--// 판매통계 끝 -->
  490. <!-- 정산내역 -->
  491. <div class="calculate card">
  492. <div class="card-header header-elements-inline">
  493. <h6 class="card-title">
  494. 정산 내역 <a href="#" class="list-icons-item"><i class="icon-more"></i></a>
  495. </h6>
  496. <div class="header-elements"><span>정산 주기</span> <span class="badge bg-success align-self-start ml-3">매주 수요일</span> </div>
  497. </div>
  498. <!-- Numbers -->
  499. <!-- <div class="card-body py-0">
  500. <div class="row text-center">
  501. <div class="col-4">
  502. <div class="mb-3">
  503. <h5 class="font-weight-semibold mb-0">2,345</h5>
  504. <span class="text-muted font-size-sm">표준판매가 기준</span> </div>
  505. </div>
  506. <div class="col-4">
  507. <div class="mb-3">
  508. <h5 class="font-weight-semibold mb-0">3,568</h5>
  509. <span class="text-muted font-size-sm"></span>수수료 등</div>
  510. </div>
  511. <div class="col-4">
  512. <div class="mb-3">
  513. <h5 class="font-weight-semibold mb-0">3,568</h5>
  514. <span class="text-muted font-size-sm">이번 정산 금액</span> </div>
  515. </div>
  516. </div>
  517. </div> -->
  518. <!-- /numbers -->
  519. <!-- Area chart -->
  520. <!-- <div id="messages-stats"></div> -->
  521. <!-- /area chart -->
  522. <!-- Tabs -->
  523. <!-- <ul class="nav nav-tabs nav-tabs-solid nav-justified bg-indigo-400 border-x-0 border-bottom-0 border-top-indigo-300 mb-0">
  524. <li class="nav-item"> <a href="#messages-tue" class="nav-link font-size-sm text-uppercase active" data-toggle="tab"> Tuesday </a> </li>
  525. <li class="nav-item"> <a href="#messages-mon" class="nav-link font-size-sm text-uppercase" data-toggle="tab"> Monday </a> </li>
  526. <li class="nav-item"> <a href="#messages-fri" class="nav-link font-size-sm text-uppercase" data-toggle="tab"> Friday </a> </li>
  527. </ul> -->
  528. <!-- /tabs -->
  529. <!-- Tabs content -->
  530. <div class="tab-content card-body">
  531. <div class="tab-pane active fade show" id="messages-tue">
  532. <ul class="media-list">
  533. <li class="media">
  534. <div class="media-body">
  535. <div class="d-flex justify-content-between">
  536. <span class="badge bg-blue-800 align-self-start">표준 매출가 금액</span>
  537. <span class="d-flex justify-content-between">
  538. <h6 class="card-title">12,234,000 원</h6>
  539. </span>
  540. </div>
  541. </li>
  542. <li class="media">
  543. <div class="media-body">
  544. <div class="d-flex justify-content-between">
  545. <span class="badge bg-blue-800 align-self-start">표준 매출가 합계</span>
  546. <span class="d-flex justify-content-between">
  547. <h6 class="card-title">12,234,000 원</h6>
  548. </span>
  549. </div>
  550. </li>
  551. <li class="media">
  552. <div class="media-body">
  553. <div class="d-flex justify-content-between">
  554. <span class="badge bg-blue-800 align-self-start">수수료 합계</span>
  555. <span class="d-flex justify-content-between">
  556. <h6 class="card-title">12,234,000 원</h6>
  557. </span>
  558. </div>
  559. </li>
  560. <li class="media">
  561. <div class="media-body">
  562. <div class="d-flex justify-content-between">
  563. <span class="badge bg-blue-800 align-self-start">파트너 분담액과 할인 등</span>
  564. <span class="d-flex justify-content-between">
  565. <h6 class="card-title">12,234,000 원</h6>
  566. </span>
  567. </div>
  568. </li>
  569. <li class="media">
  570. <div class="media-body">
  571. <div class="d-flex justify-content-between">
  572. <span class="badge bg-blue-800 align-self-start">기타 수료와 클레임</span>
  573. <span class="d-flex justify-content-between">
  574. <h6 class="card-title">12,234,000 원</h6>
  575. </span>
  576. </div>
  577. </li>
  578. <li class="media">
  579. <div class="media-body">
  580. <div class="d-flex justify-content-between">
  581. <span class="badge badge-danger align-self-start">다음 정산 합계</span>
  582. <span class="d-flex justify-content-between">
  583. <h6 class="card-title">12,234,000 원</h6>
  584. </span>
  585. </div>
  586. </li>
  587. <!--
  588. <li class="media">
  589. <div class="mr-3 position-relative"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> <span class="badge bg-danger-400 badge-pill badge-float border-2 border-white">6</span> </div>
  590. <div class="media-body">
  591. <div class="d-flex justify-content-between"> <a href="#">수수료 합계</a> <span class="font-size-sm text-muted">12:16</span> </div>
  592. 5,000 </div>
  593. </li>
  594. <li class="media">
  595. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  596. <div class="media-body">
  597. <div class="d-flex justify-content-between"> <a href="#">Jeremy Victorino</a> <span class="font-size-sm text-muted">09:48</span> </div>
  598. Pert thickly mischievous clung frowned well... </div>
  599. </li> -->
  600. </ul>
  601. </div>
  602. <div class="tab-pane fade" id="messages-mon">
  603. <ul class="media-list">
  604. <li class="media">
  605. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  606. <div class="media-body">
  607. <div class="d-flex justify-content-between"> <a href="#">Isak Temes</a> <span class="font-size-sm text-muted">Tue, 19:58</span> </div>
  608. Reasonable palpably rankly expressly grimy... </div>
  609. </li>
  610. <li class="media">
  611. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  612. <div class="media-body">
  613. <div class="d-flex justify-content-between"> <a href="#">Vittorio Cosgrove</a> <span class="font-size-sm text-muted">Tue, 16:35</span> </div>
  614. Arguably therefore more unexplainable fumed... </div>
  615. </li>
  616. <li class="media">
  617. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  618. <div class="media-body">
  619. <div class="d-flex justify-content-between"> <a href="#">Hilary Talaugon</a> <span class="font-size-sm text-muted">Tue, 12:16</span> </div>
  620. Nicely unlike porpoise a kookaburra past more... </div>
  621. </li>
  622. </ul>
  623. </div>
  624. <div class="tab-pane fade" id="messages-fri">
  625. <ul class="media-list">
  626. <li class="media">
  627. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  628. <div class="media-body">
  629. <div class="d-flex justify-content-between"> <a href="#">Owen Stretch</a> <span class="font-size-sm text-muted">Mon, 18:12</span> </div>
  630. Tardy rattlesnake seal raptly earthworm... </div>
  631. </li>
  632. <li class="media">
  633. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  634. <div class="media-body">
  635. <div class="d-flex justify-content-between"> <a href="#">Jenilee Mcnair</a> <span class="font-size-sm text-muted">Mon, 14:03</span> </div>
  636. Since hello dear pushed amid darn trite... </div>
  637. </li>
  638. <li class="media">
  639. <div class="mr-3"> <img src="/public/images/placeholders/placeholder.jpg" class="rounded-circle" width="36" height="36" alt=""> </div>
  640. <div class="media-body">
  641. <div class="d-flex justify-content-between"> <a href="#">Alaster Jain</a> <span class="font-size-sm text-muted">Mon, 13:59</span> </div>
  642. Dachshund cardinal dear next jeepers well... </div>
  643. </li>
  644. </ul>
  645. </div>
  646. </div>
  647. <!-- /tabs content -->
  648. </div>
  649. <!--// 정산내역 -->
  650. </div>
  651. </div>
  652. </div>
  653. @endsection
  654. <script>
  655. var formatted = @json($salesStatisticsGraph);
  656. </script>
  657. @push('js')
  658. <script>
  659. var {children: titles} = document.querySelector(".animate-text");
  660. var txtsLen = titles.length;
  661. var index = 0;
  662. var textInTimer = 4000;
  663. var textOutTimer = 4000;
  664. function animateText() {
  665. for (var i = 0; i < txtsLen; i++) {
  666. titles[i].classList.remove("text-in", "text-out");
  667. }
  668. titles[index].classList.add("text-in");
  669. setTimeout(function () {
  670. titles[index].classList.add("text-out");
  671. }, textOutTimer);
  672. setTimeout(function () {
  673. if (index == txtsLen - 1) {
  674. index = 0;
  675. } else {
  676. index++;
  677. }
  678. animateText();
  679. }, textInTimer);
  680. }
  681. window.onload = animateText;
  682. </script>
  683. @endpush