refactor template and deshboard invoice table

This commit is contained in:
Jay_Makwana
2019-11-12 20:55:51 +05:30
parent 4decc56b7c
commit bc69046f3b
9 changed files with 36 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<template>
<div id="app" class="main-content">
<div id="app" class="main-content dashboard">
<div class="row">
<div class="dash-item col-sm-6">
<router-link slot="item-title" to="/admin/invoices">
@ -177,7 +177,7 @@
<table-column
:sortable="false"
:filterable="false"
cell-class="action-dropdown no-click"
cell-class="action-dropdown dashboard-recent-invoice-options no-click"
>
<template slot-scope="row">
<v-dropdown>

View File

@ -417,7 +417,7 @@ export default {
if (response.data) {
this.filters.status = 'ACCEPTED'
this.$refs.table.refresh()
window.toastr['success'](this.$tc('estimates.marked_as_rejected_message'))
window.toastr['success'](this.$tc('estimates.marked_as_accepted_message'))
}
},
async onMarkAsRejected (id) {