Merge branch 'master' of https://github.com/bagisto/bagisto into sarga-v1
This commit is contained in:
commit
cd27bc4535
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/admin.js": "/js/admin.js?id=fabd4d31cf305b8cf817",
|
||||
"/js/admin.js": "/js/admin.js?id=1b81aa5c91be13c6f809",
|
||||
"/css/admin.css": "/css/admin.css?id=86d9b327bcde32d6fda5"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
<ul class="notif" v-if="notifications.length > 0" >
|
||||
<li v-for="(notification,index) in notifications" :class="notification.read ? 'read' : ''">
|
||||
<div>
|
||||
<span hidden>{{ moment.locale(localeCode) }}</span>
|
||||
</div>
|
||||
<template v-if="notification.order.status == 'pending'">
|
||||
<div class="notif-icon pending">
|
||||
<span :class="ordertype.pending.icon"></span>
|
||||
|
|
@ -112,7 +115,8 @@
|
|||
'title',
|
||||
'orderStatus',
|
||||
'noRecordText',
|
||||
'orderStatusMessages'
|
||||
'orderStatusMessages',
|
||||
'localeCode'
|
||||
],
|
||||
|
||||
data: function() {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@
|
|||
<div id="notif-title">{{ title }}</div>
|
||||
|
||||
<li v-for="notification in notifications" :key="notification.id" :class="notification.read ? 'read': ' '">
|
||||
<div>
|
||||
<span hidden>{{ moment.locale(localeCode) }}</span>
|
||||
</div>
|
||||
<a :href="`${orderViewUrl + notification.order_id}`">
|
||||
<div class="notif-icon" :class="notification.order.status">
|
||||
<span :class="ordertype[notification.order.status].icon"></span>
|
||||
|
|
@ -58,7 +61,8 @@ export default {
|
|||
'viewAllTitle',
|
||||
'getReadAllUrl',
|
||||
'readAllTitle',
|
||||
'orderStatusMessages'
|
||||
'orderStatusMessages',
|
||||
'localeCode'
|
||||
],
|
||||
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@
|
|||
view-all-title="{{ __('admin::app.notification.view-all') }}"
|
||||
get-read-all-url="{{ route('admin.notification.read-all') }}"
|
||||
order-status-messages="{{ json_encode($orderStatusMessages) }}"
|
||||
read-all-title="{{ __('admin::app.notification.read-all') }}">
|
||||
read-all-title="{{ __('admin::app.notification.read-all') }}"
|
||||
locale-code={{ core()->getCurrentLocale()->code }}>
|
||||
|
||||
<div class="notifications">
|
||||
<div class="dropdown-toggle">
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@
|
|||
title=" {{ __('admin::app.notification.notification-title') }}"
|
||||
order-status="{{ json_encode($orderStatus) }}"
|
||||
order-status-messages="{{ json_encode($orderStatusMessages) }}"
|
||||
no-record-text="{{ __('admin::app.notification.no-record') }}">
|
||||
no-record-text="{{ __('admin::app.notification.no-record') }}"
|
||||
locale-code={{ core()->getCurrentLocale()->code }}>
|
||||
</notification-list>
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Reference in New Issue