123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
- <meta name="csrf-token" content="MOPUhVXZcUk6jStOhUNBIjlzjQOz911kSUPoP7gN">
- <meta property="og:image" itemprop="image" content="https://admin.meemapp.net/public/assets/images/meem_meta.png"> <title>meem</title>
- <meta name="description" content="meem food ordering system">
- <meta property="og:type" content="website" />
- <!-- Favicon Icon -->
- <link rel="icon" type="image/png" href="{!! env('APP_ASSETS') !!}images/favicon.ico">
- <link rel="apple-touch-icon" sizes="128x128" href="{!! env('APP_ASSETS') !!}images/favicon.ico">
- <link rel="shortcut icon" sizes="128x128" href="{!! env('APP_ASSETS') !!}images/favicon.ico">
- <!-- Feather Icon-->
- <link href="{!! env('APP_ASSETS') !!}css/vendors_css.css" rel="stylesheet" type="text/css">
- <!-- Fontawesome Icon-->
- <link href="{!! env('APP_ASSETS') !!}css/style.css" rel="stylesheet" type="text/css">
- <link href="{!! env('APP_ASSETS') !!}css/style_new.css" rel="stylesheet" type="text/css">
- {{--
- <link href="{!! env('APP_ASSETS') !!}css/style_rtl.css" rel="stylesheet" type="text/css">--}}
- <!-- Bootstrap Css -->
- <link href="{!! env('APP_ASSETS') !!}css/skin_color.css" rel="stylesheet"><!-- Custom Css -->
- <link href="{!! env('APP_ASSETS') !!}css/sidebar-new.css?v=1.4" rel="stylesheet" type="text/css">
- @yield('css')
- <style>
- .btn-default{
- border-color: transparent;
- }
- .main-header .logo .logo-lg{ padding-left: 13px;}
- label.error{
- color:#FF0000;
- }
- .sidebar-active{
- display: block !important;
- width: 100% !important;
- }
- .theme-primary .btn-primary{
- background-color: #ffab00;
- border-color: #ffab00;
- }
- .sidebar-active .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{ display: block !important;}
- .sidebar-menu > li .badge {
- margin-left: 5px;
- width: 20px;
- height: 20px;
- padding-left: 4px;
- padding-top: 6px;
- border-radius: 100%;
- line-height: 9px;
- text-align: center;
- font-weight: 300;
- margin-top: 3px;
- display: none;
- }
- .main-header .navbar{
- margin-left: 16.29rem;
- }
- .new-order {
- background: rgb(110 195 82 / 50%) !important;
- color: #000;
- }
- .alert{ display: none}
- #loader{
- background: #fff url({!! env('APP_ASSETS') !!}images/preloaders/preloader.svg) no-repeat center center;
- left: 0px !important;
- top: 0;
- }
- .theme-primary .btn-primary:hover, .theme-primary .btn-primary:active, .theme-primary .btn-primary:focus, .theme-primary .btn-primary.active{
- background-color: #ffab00 !important;
- border-color: #ffab00 !important;
- }
- .sidebar-menu > li,.sidebar-menu > li:hover { margin-bottom: 2px}
- .theme-primary.light-skin .sidebar-menu > li.active > a {
- color: #fff;
- background-color: #FEC34D ;padding:0px 10px;
- }
- .theme-primary.light-skin .sidebar-menu > li:hover > a, .theme-primary.light-skin .sidebar-menu > li:active > a, .theme-primary.light-skin .sidebar-menu > li.active > a{
- padding:0px 4px 0 4px;
- transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
- }
- .sidebar-menu > li > a > i{
- margin-right: -2px;
- }
- #dropdownMenu2 {
- border-radius: 0px;
- background: #ffd684;
- text-align: left;
- padding-left: 23px;
- font-size: 14px;
- font-weight: 600;
- }
- .btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn-secondary.active{
- background-color: #ffd684 !important;
- border-color: #ffd684 !important;
- }
- .dropdown-item:hover, .dropdown-item:focus {
- background-color: transparent;
- }
- #dropdownMenu2 i{
- font-size:1.5714285714rem
- }
- .sidebar-collapse .sidebar-menu.tree{margin-top: 10px}
- /* .theme-primary.light-skin .sidebar-menu > li.active > a > i{
- background-color: #FFAD12 !important;
- box-shadow: 0 4px 5px 0 #d4b483 !important;
- }*/
- .theme-primary.light-skin .sidebar-menu > li.active {
- background-color: rgba(76, 149, 221, 0);
- color: #000;
- border-left: 0px solid #000;
- }
- .theme-primary.light-skin .sidebar-menu > li.active > a > i{
- box-shadow: 0 4px 5px 0 rgb(0 0 0 / 50%);
- }
- .theme-primary.light-skin .sidebar-menu > li:hover > a > i, .theme-primary.light-skin .sidebar-menu > li:active > a > i, .theme-primary.light-skin .sidebar-menu > li.active > a > i{
- background-color: rgba(0, 0, 0, 0);
- margin-bottom: 5px;
- }
- ul.footer-drop{
- transform: translate(226px, 2px) !important;
- }
- .notification-badge{
- font-size: 75%;position: absolute;top: -2px !important;right: -13px;padding: 5px 10px;border-radius: 50%;background: red;color: white;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 87%);
- top: calc(100% - 54%);
- margin-top: -7px;
- }
- @php
- $no_gap_pages = ['OrderListing','outlets-form','OutletEdit','outlets-address','outlets-delivery','outlets-pickup'];
- ;
- @endphp
- @if(in_array(Route::currentRouteName(),$no_gap_pages))
- .content-wrapper {
- width: calc(100% - 270px);
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 0px;
- margin-left: 270px;
- margin-left: 270px;
- }
- @else
- .content-wrapper {
- width: calc(100% - 300px);
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 0px;
- margin-left: 290px;
- }
- @endif
- /* @media (min-width: 768px){
- .fixed .multinav {
- position: fixed;
- width: 16.29rem;
- padding-bottom: 0;
- height: calc(100% - 80px);
- }
- .main-sidebar{
- width: 16.29rem;
- }
- .main-header div.logo-box{
- width: 16.29rem;
- }
- .sidebar-footer{
- width: 16.29rem;
- }
- }*/
- @media (min-width: 850px) and (max-width: 1020px){
- .main-header div.logo-box {
- width: 100% !important;}
- .fixed .content-wrapper {
- margin-left: 0 !important; margin-top: 70px !important; width: 100%;
- }
- .fixed .multinav {
- width: 100%;
- }
- .head_sub_div{
- width: 100%;
- }
- .sidebar-menu.tree {
- margin-top: 24px !important;
- margin-left: 25px !important;
- }
- .sidebar-menu {
- list-style: none;
- margin: 0 0px;
- padding: 20px 0px 50px 0px;
- }
- .light-skin .sidebar-menu > li > a > span {
- background-color: transparent !important;
- box-shadow: none !important;
- margin-left: 11px;
- -webkit-transform: none;
- font-size: 16px;
- }
- .theme-primary.light-skin .sidebar-menu > li.active {
- background-color: rgba(76, 149, 221, 0);
- color: #000;
- border-left: 0px solid #000;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- display: inline-block !important;
- background: transparent !important;
- font-size: 14px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span{
- background: transparent !important; font-size: 14px;
- }
- .sidebar-collapse .sidebar-menu > li > a {
- padding: 1px 12px;
- }
- .main-sidebar .dropdown{
- width: 250px;
- }
- .sidebar-mini.sidebar-collapse .dropdown button > span{ display: inline-block !important; }
- .add-outlet{ width: 200px; }
-
- }
- @media only screen
- and (min-device-width: 768px)
- and (max-device-width: 1024px)
- and (orientation: portrait)
- and (-webkit-min-device-pixel-ratio: 1) {
- .content-wrapper {
- width: calc(100%) !important;
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 60px !important;
- margin-left: 0px;
- padding: 5px;
- }
- .add-outlet{
- margin-top: 15px;
- }
- .sidebar-mini .sidebar-menu > li > a > span{
- }
- .light-skin .sidebar-menu > li > a > span{
- background-color: transparent !important;
- box-shadow:none !important;
- margin-left: 11px;
- -webkit-transform:none;
- font-size: 16px;
- }
- .fixed .multinav{
- width: 100%;
- }
- .sidebar-footer {
- width: auto;
- }
- .sidebar-mini .dropdown button > span {
- border-top-right-radius: 5px;
- display: inline-grid !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-menu.tree {
- margin-top: 34px;
- margin-left: 25px;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 96%);
- top: calc(100% - 60%);
- margin-top: -7px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span {
- background: transparent !important;
- }
- .col-sm-12.col-md-6.box-shadowed{
- width: 100%;
- }
- .order-sections-list{
- width: 100%;
- }
- .no-order{
- padding-top: 30% !important;
- height: 48.2vh !important;
- }
- .all-orders{ max-height: 300px !important; height: 300px !important; min-height:300px !important;}
- .nav-tabs .nav-link {
- padding: 14px 21px !important;
- }
- .nav-tabs {
- height: 57px;
- margin-top: 11px;
- }
- }
- @media (max-width: 767px){
- .navbar{
- background-color: transparent !important;
- }
- }
- @media only screen
- and (min-device-width: 768px)
- and (max-device-width: 1024px)
- and (orientation: landscape)
- and (-webkit-min-device-pixel-ratio: 1) {
- .navbar{
- background-color: transparent !important;
- }
- .sidebar-menu li a {
- font-size: inherit !important;
- }
- .sidebar-footer button {
- font-size: inherit !important;
- }
- .fixed .content-wrapper {
- margin-top: -0px;
- margin-left: 271px;
- padding: 5px;
- }
- .no-order,.order-section{
- height: 98.7vh !important;
- }
- .col-md-6.box-shadowed{
- width: 66%;
- }
- .tab-pane{
- max-height: 88.5vh !important;
- }
- /*.navbar-static-top{ display: none !important;}*/
- }
- @media (max-width:641px) {
- .navbar{
- background-color: transparent !important;
- }
- .content-wrapper {
- width: 100%;
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 60px ;
- margin-left: 0px;
- padding: 5px;
- }
- .add-outlet{
- margin-top: 15px;
- }
- .sidebar-mini .sidebar-menu > li > a > span{
- }
- .light-skin .sidebar-menu > li > a > span{
- background-color: transparent !important;
- box-shadow:none !important;
- margin-left: 11px;
- -webkit-transform:none;
- font-size: 16px;
- }
- .fixed .multinav{
- width: 100%;
- }
- .sidebar-footer {
- width: auto;
- }
- .sidebar-mini .dropdown button > span {
- border-top-right-radius: 5px;
- display: inline-grid !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-menu.tree {
- margin-top: 34px;
- margin-left: 25px;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 96%);
- top: calc(100% - 60%);
- margin-top: -7px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span {
- background: transparent !important;
- }
- .col-sm-12.col-md-6.box-shadowed{
- width: 100%;
- }
- .order-sections-list{
- width: 100%;
- }
- .no-order{
- padding-top: 30% !important;
- height: 48.2vh !important;
- }
- /* .all-orders{ max-height: 300px !important; height: 300px !important; min-height:300px !important;}*/
- .nav-tabs .nav-link {
- padding: 14px 21px !important;
- }
- .nav-tabs {
- height: 57px;
- margin-top: 11px;
- }
- }
- @media (max-width:414px){
- .right-panel-footer{
- --bs-gutter-x: 0;
- }
- .order-section{
- overflow-x: hidden !important;
- }
- .theme-primary.light-skin .sidebar-menu > li.active {
- background-color: rgba(76, 149, 221, 0);
- color: #000;
- border-left: 0px solid #000;
- }
- .sidebar-menu {
- list-style: none;
- margin: 0 0px;
- padding: 20px 0px 50px 0px;
- }
- .back-to-orders{
- padding: 10px;
- background: orange;
- font-size: 14px;
- cursor: pointer;
- font-weight: 600;
- }
- .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl{padding-left: 0}
- .right-panel-box div.box-body{
- padding: 0.5rem 1.5rem !important;
- }
- .box-header{
- padding: 0.5rem;
- }
- #show-recipes .box-header {.order-section
- padding: 15px 0.5rem 5px !important;
- }
- .right-panel-footer {
- margin-bottom: 25px !important;
- padding: 10px 1.5rem;
- }
- .all-orders{ max-height: 70vh !important; height: 70vh !important; min-height:70vh !important;}
- .order-section{
- height: 100vh !important;
- overflow-x: auto;
- position: absolute;
- z-index: 999;
- top: 50px;
- background: white;
- left: 0;
- right: 0;
- }
- input, select:focus{
- border-right-width: 1px !important;
- }
- .circle-div{ width: 40px; height: 40px}
- .gap-items p.min{
- line-height: 11px !important;
- padding-top: 8px !important;
- font-size: 11px;
- }
- .box-bodys{ margin-bottom: 10px;}
- .p-15{
- padding:5px !important;
- }
- .add-outlet{ width: 100%;}
- .navbar{
- background-color: transparent !important;
- }
- .content-wrapper {
- width: 100%;
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 35px ;
- margin-left: 0px !important;
- padding: 5px;
- }
- .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- display: inline-grid !important
- }
- .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- background-color: transparent !important;
- box-shadow:none !important;
- margin-left: 11px;
- -webkit-transform:none;
- font-size: 16px;
- }
- .sidebar-collapse .sidebar-footer {
- width: auto;
- }
- .sidebar-mini.sidebar-collapse .dropdown button > span {
- border-top-right-radius: 5px;
- display: inline-grid !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-collapse .sidebar-menu.tree {
- margin-top: 34px;
- margin-left: 25px;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 96%);
- top: calc(100% - 60%);
- margin-top: -7px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span {
- background: transparent !important;
- }
- .col-sm-12.col-md-6.box-shadowed{
- width: 100%;
- }
- .order-sections-list{
- width: 100%;
- }
- .no-order{
- padding-top: 30% !important;
- height: 48.2vh !important;
- display: none;
- }
- .hs > li, .item{
- width: 160px;
- }
- .nav-tabs .nav-link {
- padding: 7px 13px !important;
- }
- .nav-tabs {
- height: 57px;
- margin-top: 11px;
- }
- }
- @media (max-width:320px){
- .order-section{
- height: 100vh !important;
- overflow-x: auto;
- position: absolute;
- z-index: 999999;
- top: 0;
- background: white;
- left: 0;
- right: 0;
- }
- .circle-div{ width: 40px; height: 40px}
- .gap-items p.min{
- line-height: 11px !important;
- padding-top: 8px !important;
- font-size: 11px;
- }
- .box-bodys{ margin-bottom: 10px;}
- .p-15{
- padding:5px !important;
- }
- .add-outlet{ width: 100%;}
- .navbar{
- background-color: transparent !important;
- }
- .content-wrapper {
- width: calc(100%) !important;
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 35px ;
- margin-left: 0px;
- padding: 5px;
- }
- .theme-primary.light-skin .sidebar-menu > li:hover > a, .theme-primary.light-skin .sidebar-menu > li:active > a, .theme-primary.light-skin .sidebar-menu > li.active > a{
- background: none !important;
- }
- .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- display: inline-grid !important
- }
- .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- background-color: transparent !important;
- box-shadow:none !important;
- margin-left: 11px;
- -webkit-transform:none;
- font-size: 16px;
- }
- .sidebar-collapse .sidebar-footer {
- width: auto;
- }
- .sidebar-mini.sidebar-collapse .dropdown button > span {
- border-top-right-radius: 5px;
- display: inline-grid !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-collapse .sidebar-menu.tree {
- margin-top: 34px;
- margin-left: 25px;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 96%);
- top: calc(100% - 60%);
- margin-top: -7px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span {
- background: transparent !important;
- }
- .col-sm-12.col-md-6.box-shadowed{
- width: 100%;
- }
- .order-sections-list{
- width: 100%;
- }
- .no-order{
- padding-top: 30% !important;
- height: 48.2vh !important;
- display: none;
- }
- .hs > li, .item{
- width: 160px;
- }
- .nav-tabs .nav-link {
- padding: 7px 13px !important;
- }
- .nav-tabs {
- height: 57px;
- margin-top: 11px;
- }
- }
- /* @media (device-width: 375px) and (orientation: portrait){
- .navbar{
- background-color: transparent !important;
- }
- .content-wrapper {
- width: calc(96%) !important;
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 35px !important;
- margin-left: 0px;
- padding: 5px;
- }
- .theme-primary.light-skin .sidebar-menu > li:hover > a, .theme-primary.light-skin .sidebar-menu > li:active > a, .theme-primary.light-skin .sidebar-menu > li.active > a{
- background: none !important;
- }
- .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- display: inline-grid !important
- }
- .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- background-color: transparent !important;
- box-shadow:none !important;
- margin-left: 11px;
- -webkit-transform:none;
- font-size: 16px;
- }
- .sidebar-collapse .sidebar-footer {
- width: auto;
- }
- .sidebar-mini.sidebar-collapse .dropdown button > span {
- border-top-right-radius: 5px;
- display: inline-grid !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-collapse .sidebar-menu.tree {
- margin-top: 34px;
- margin-left: 25px;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 96%);
- top: calc(100% - 60%);
- margin-top: -7px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span {
- background: transparent !important;
- }
- .col-sm-12.col-md-6.box-shadowed{
- width: 480px;
- }
- .order-sections-list{
- width: 295px;
- }
- .nav-tabs .nav-link {
- padding: 14px 21px !important;
- }
- .nav-tabs {
- height: 57px;
- margin-top: 11px;
- }
- }
- @media (device-width: 360px) and (orientation: portrait){
- .order-sections-list{
- width: 100%;
- }
- .no-order{
- padding-top: 30% !important;
- height: 48.2vh !important;
- display: none;
- }
- .hs > li, .item{
- width: 160px;
- }
- .nav-tabs .nav-link {
- padding: 7px 13px !important;
- }
- .navbar{
- background-color: transparent !important;
- }
- .content-wrapper {
- width: calc(96%) !important;
- background-color: #fff !important;
- }
- .fixed .content-wrapper {
- margin-top: 35px !important;
- margin-left: 0px;
- padding: 5px;
- }
- .theme-primary.light-skin .sidebar-menu > li:hover > a, .theme-primary.light-skin .sidebar-menu > li:active > a, .theme-primary.light-skin .sidebar-menu > li.active > a{
- background: none !important;
- }
- .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- display: inline-grid !important
- }
- .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span{
- background-color: transparent !important;
- box-shadow:none !important;
- margin-left: 11px;
- -webkit-transform:none;
- font-size: 16px;
- }
- .sidebar-collapse .sidebar-footer {
- width: auto;
- }
- .sidebar-mini.sidebar-collapse .dropdown button > span {
- border-top-right-radius: 5px;
- display: inline-grid !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-collapse .sidebar-menu.tree {
- margin-top: 34px;
- margin-left: 25px;
- }
- button .pull-right-container {
- position: absolute;
- right: calc(100% - 96%);
- top: calc(100% - 60%);
- margin-top: -7px;
- }
- .theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a > span {
- background: transparent !important;
- }
- .col-sm-12.col-md-6.box-shadowed{
- width: 480px;
- }
- .order-sections-list{
- width: 295px;
- }
- .nav-tabs .nav-link {
- padding: 14px 21px !important;
- }
- .nav-tabs {
- height: 57px;
- margin-top: 11px;
- }
- }*/
- </style>
- </head>
- <body class="light-skin sidebar-mini theme-primary fixed">
- <div class="wrapper">
- <div id="loader"></div>
- @include('inc.header')
- @if(\Illuminate\Support\Facades\Auth::user()->role=="administrator")
- @include('inc.sidebar_admin')
- @elseif(\Illuminate\Support\Facades\Auth::user()->role=="resto_user")
- @include('inc.sidebar_resto_user')
- @else
- @include('inc.sidebar_resto')
- @endif
- @yield('content')
- @php
-
- if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant"){
- $placed_order = false;
- $recent_till = \Carbon\Carbon::now()->subDays(2)->format('Y-m-d');;
- $one_order = \Illuminate\Support\Facades\Auth::user()->restaurants->id;
- $order1 = \App\Orders::where('status','Placed')->where('resto_id',$one_order)->where('created_at','>=',$recent_till)->first();
- if(isset($order1) && $order1->status=="Placed"){
- $placed_order = true;
- }
- //dump($order);
- }
- @endphp
- {{-- @include('inc.sidebar_resto_right')--}}
- {{--<footer class="main-footer" style="font-size: 10px">
- <video controls="controls" src="{!! env('APP_URL') !!}/1sec.avi" muted autoplay loop style="display:none">
- Your browser does not support the HTML5 Video element.
- </video>
- <img src="{!! env('APP_ASSETS') !!}images/favicon.png" height="18" /> meem powered by <img src="{!! env('APP_ASSETS') !!}images/taiftec.png" height="16" />
- </footer>--}}
- <input type="button" id="toggle" value="Wake Lock is disabled" style="display:none"/>
- </div>
- </body>
- <script src="{!! env('APP_ASSETS') !!}js/vendors.min.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/pages/chat-popup.js"></script>
- <script src="{!! env('APP_ASSETS') !!}icons/feather-icons/feather.min.js"></script>
- <script src="{!! env('APP_ASSETS') !!}vendor_components/progressbar.js-master/dist/progressbar.js"></script>
- <script src="{!! env('APP_ASSETS') !!}vendor_components/OwlCarousel2/dist/owl.carousel.js"></script>
- <script src="{!! env('APP_ASSETS') !!}vendor_components/datatable/datatables.min.js"></script>
- <script src="{!! env('APP_ASSETS') !!}vendor_components/jquery-toast-plugin-master/src/jquery.toast.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/printThis.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/jquery.uploadPreview.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/jquery.validate.min.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/jquery.form.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/NoSleep.min.js"></script>
- <!-- Riday Admin App -->
- <script src="//js.pusher.com/3.1/pusher.min.js"></script>
- <script src="{!! env('APP_ASSETS') !!}js/template.js"></script>
- <script>
- //screen.orientation.lock('');
- nosleep();
- function nosleep()
- {
- var noSleep = new NoSleep();
- noSleep.enable();
- }
- </script>
- <!-- AUDIO.JS -->
- <script type="text/javascript">
- const CACHE_NAME = "audioCache";
- const FILE_NAME = 'https://admin.meemapp.net/notif-order.mp3';
- (function main(){
- updateStatus();
- })();
- // Update the status field
- function updateStatus() {
- isCached().then(value => {
- });
- }
- function isCached() {
- return window.caches.open(CACHE_NAME)
- .then(cache => cache.match(FILE_NAME))
- .then(Boolean);
- }
- function addToCache() {
- window.caches.open(CACHE_NAME)
- .then(cache => cache.add(FILE_NAME))
- .then(() => console.log('cached audio file'))
- .catch(e => console.error('failed to cache file', e))
- .finally(updateStatus); // This only works in chrome/ff at the time of writing
- }
- function removeFromCache() {
- window.caches.open(CACHE_NAME)
- .then(cache => cache.delete(FILE_NAME))
- .then(() => console.log('removed cached file'))
- .catch(e => console.error('failed to remove cached file', e))
- .finally(updateStatus); // This only works in chrome/ff at the time of writing
- }
- </script>
- <script>
- if ('serviceWorker' in navigator) {
- var file = "{!! env('APP_ASSETS') !!}js/audio_cache_sw.js"
- navigator.serviceWorker.register(file)
- .then(function(reg) {
- console.log('Registration succeeded.');
- }).catch(function(error) {
- console.log('Registration failed with ' + error);
- });
- }
- </script>
- <!-- END AUDIO.JS -->
- <script>
- /*let src = "https://admin.meemapp.net/notif-order.mp3";
- let audio = new Audio(src);
- audio.loop = true;
- audio.play();
- */
- addToCache();
- var timeFormat = function(datetime){
- var time =datetime;
- var date = new Date(time);
- date = date.getFullYear()+"-"+date.getMonth()+"-"+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+":"+date.getMilliseconds();
- return date;
- };
- var logged_user = "{!! \Illuminate\Support\Facades\Auth::user()->role=="restaurant" && isset(\Illuminate\Support\Facades\Auth::user()->restaurants)?\Illuminate\Support\Facades\Auth::user()->restaurants->id:NULL !!}";
- var site_url = "{!! env('APP_URL') !!}";
- logged_user = parseInt(logged_user);
- $(function () {
- $('[data-toggle="tooltip"]').tooltip();
- // $('#dataTable').DataTable();
- $("body").on("click",".notifications",function () {
- $.ajax({
- url:"{!! env('APP_URL') !!}read/notifications",
- success:function (response) {
- $(".badge-counter").attr("data-count",0);
- $(".badge-counter").html("");
- }
- });
- });
- })
- </script>
- <script>
- let src = "{!! env('APP_URL') !!}notif-order.mp3";
- let audio = new Audio(src);
- audio.loop = true;
- @if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant")
- @if(Route::currentRouteName()=="OrderListing" || $placed_order)
- @if((isset($is_pending_order) && !empty($is_pending_order)) || $placed_order)
- audio.play();
- @endif
- @endif
- @endif
- var pusher = new Pusher('{{env("PUSHER_APP_KEY")}}', {
- cluster: '{{env("PUSHER_APP_CLUSTER")}}',
- encrypted: true
- });
- var notification_counter = parseInt($(".badge-counter").data('count'));
- var new_order_count = parseInt($("#order-counter").html());
- if(new_order_count=="")
- new_order_count = 0;
- var channel = pusher.subscribe("{!! env('PUHER_APP_CHANNEL') !!}");
- channel.bind('App\\Events\\OrderNotification', function(data) {
- console.log(data);
- var order_resto_id = parseInt(data.order_resto_id);
- if(order_resto_id==logged_user && data.notification_for=="update-order-status"){
- // location.reload();
- audio.pause();
- $("#orders-list").html('');
- $.ajax({
- url:"{!! env('APP_URL') !!}liveorders/all",
- success:function (response) {
- //response = $.parseJSON(response);
- if(response){
- $.each(response.orders,function (i,v) {
- var str='<li class="mlist_li" rel="detail" data-order-id="'+v.id+'">\n' +
- ' <div class="box '+v.box_bg+' rounded-0">\n' +
- ' <div class="media-list media-list-divided media-list-hover">\n' +
- ' <div class="media align-items-center">\n' +
- ' <div class="media-body">\n' +
- ' <p>#'+v.order_ref+'</p>\n' +
- ' <p> '+(v.campaign_type!=""?v.campaign_type:"Direct")+', '+v.created_at+'</p>\n' +
- ' </div>\n' +
- ' <div class="media-right gap-items">\n' +
- ' <div class="user-social-acount text-center">\n' +
- ' <p class="m-0 status">'+v.status+'</p>\n' +
- ' <div class="d-flex align-items-center float-end">\n' +
- ' <div class="circle-div '+v.bg+' text-center" data-min="'+v.remaining_min+'" data-color="'+v.bg_color+'">\n' +
- ' <p class="mb-5 min">'+v.remaining_min+'<br />\n'+
- ' Min</p>\n'+
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- '</li>';
- counter = counter+1;
- $("#orders-list").append(str);
- });
- $("span."+status).html(counter);
- }
- }
- });
- $.ajax({
- url: "{!! env('APP_URL') !!}order/counts",
- success: function (response) {
- // response = $.parseJSON(response);
- var total_accepted = 0;
- var total = 0;
- $.each(response,function (i,v) {
- if(v.status=="Send_to_Kitchen" || v.status=="Accepted"){
- total_accepted+=parseInt(v.status_count);
- total+=parseInt(v.status_count);
- $(".labelcenter.kitchen").text(total_accepted);
- }
- if(v.status=="On_Road"){
- $(".labelcenter.route").text(v.status_count);
- total+=parseInt(v.status_count);
- }
- if(v.status=="Placed"){
- $(".labelcenter.new").html(v.status_count);
- total+=parseInt(v.status_count);
- if(parseInt(v.status_count) > 0){
- $("#order-counter").html(v.status_count);
- $("#order-counter").show();
- }else{
- audio.pause();
- $("#order-counter").html(0);
- $("#order-counter").hide();
- }
- }
- });
- $(".labelcenter.all").text(total);
- }
- });
- $(".mlist_li[data-order-id="+data.order_id+"]").remove();
- }
- var resto_id = parseInt(data.resto_id);
- if(resto_id==logged_user){
- audio.play();
- var new_order = (data.order_data);
- var v = new_order;
- var li = '<li class="mlist_li" rel="detail" data-order-id="'+v.id+'">\n' +
- ' <div class="box bg-danger rounded-0">\n' +
- ' <div class="media-list media-list-divided media-list-hover">\n' +
- ' <div class="media align-items-center">\n' +
- ' <div class="media-body">\n' +
- ' <p>#'+v.order_ref+'</p>\n' +
- ' <p> '+(v.campaign_type?v.campaign_type:"Direct")+', Just now</p>\n' +
- ' </div>\n' +
- ' <div class="media-right gap-items">\n' +
- ' <div class="user-social-acount text-center">\n' +
- ' <p class="m-0 status">New</p>\n' +
- ' <div class="d-flex align-items-center float-end">\n' +
- ' <div class="circle-div blu-bg text-center">\n' +
- ' <p class="mb-5 min">0<br />\n' +
- ' Min</p>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- ' </div>\n' +
- '</li>';
- /* var action_list = '<div class="btn-group">\n' +
- ' <a class="hover-primary dropdown-toggle no-caret" data-bs-toggle="dropdown"><i class="fa fa-ellipsis-h"></i></a>\n' +
- ' <div class="dropdown-menu">\n' +
- ' <a class="dropdown-item order-status" href="#!" data-id="'+new_order.id+'" data-status="Accepted">Accepted</a>\n' +
- ' <a class="dropdown-item order-status" href="#!" data-id="'+new_order.id+'" data-status="Rejected">Rejected</a>\n' +
- ' <a class="dropdown-item order-status" href="#!" data-id="'+new_order.id+'" data-status="Rejected_by_User">Rejected by User</a>\n' +
- ' \n' +
- ' </div>\n' +
- ' </div>';
- var row = '<tr class="special order-row" data-id="'+new_order.id+'">';
- row+='<td>'+new_order.order_ref+'</td>';
- row+='<td>'+timeFormat(new_order.created_at)+'</td>';
- row+='<td>'+new_order.customer_name+'</td>';
- row+='<td>'+ data.customer_mobile+ '</td>';
- row+='<td>'+data.customer_location+'</td>';
- row+='<td>'+new_order.order_type+'</td>';
- // row+='<td>'+new_order.campaign_name+'</td>';
- // row+='<td>'+new_order.campaign_date+'</td>';
- row+='<td>'+new_order.campaign_type+'</td>';
- row+='<td>'+data.total_price+'</td>';
- /!* row+='<td>'+(new_order.order_deliver_time?new_order.order_deliver_time:"(اقرب وقت)\t")+'</td>';*!/
- row+='<td><span class="badge badge-info-light">Placed</span></td>';
- row+='<td>'+action_list+'</td>';
- row+='</tr>';*/
- $.ajax({
- url: "{!! env('APP_URL') !!}order/counts",
- success: function (response) {
- // response = $.parseJSON(response);
- var total_accepted = 0;
- var total = 0;
- $.each(response,function (i,v) {
- if(v.status=="Send_to_Kitchen" || v.status=="Accepted"){
- total_accepted+=parseInt(v.status_count);
- total+=parseInt(v.status_count);
- $(".labelcenter.kitchen").text(total_accepted);
- }
- if(v.status=="On_Road"){
- $(".labelcenter.route").text(v.status_count);
- total+=parseInt(v.status_count);
- }
- if(v.status=="Placed"){
- $(".labelcenter.new").text(v.status_count);
- total+=parseInt(v.status_count);
- if(parseInt(v.status_count) > 0){
- $("#order-counter").html(v.status_count);
- $("#order-counter").show();
- }
- }
- });
- $(".labelcenter.all").text(total);
- }
- });
- @if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant")
- @if(Route::currentRouteName()=="OrderListing")
- $("#orders-list").prepend(li);
- @endif
- @endif
- // $("#new-order-tables tbody").prepend(row);
- // $("#new-orders-modal").modal();
- setTimeout(function () {
- $("#new-orders-modal").modal('hide');
- },30000);
- var notification = '<li>\n' +
- ' <a href="{!! env('APP_URL') !!}order/show/'+data.order_id+'">\n' +
- ' <i class="fa fa-users text-info"></i> '+data.message+'.\n' +
- ' </a>\n' +
- ' </li>';
- $("#notifications").prepend(notification);
- notification_counter += 1;
- new_order_count += 1;
- $(".badge-counter").attr('data-count',notification_counter);
- $(".badge-counter").html(notification_counter);
- $("#order-counter").html(new_order_count);
- $("#order-counter").show();
- }
- });
- $("body").on("click",".push-btn",function () {
- $(".main-sidebar").toggleClass('sidebar-active')
- });
- </script>
- </html>
- @yield('js')
|