瀏覽代碼

عنوان صورتحساب در پنل ادمین

HgH 1 年之前
父節點
當前提交
3d5cf8320f
共有 1 個文件被更改,包括 1 次插入 和 5 次删除
  1. 1 5
      src/components/Widgets/Invoice/AdminInvoiceList/AdminInvoiceList.vue

+ 1 - 5
src/components/Widgets/Invoice/AdminInvoiceList/AdminInvoiceList.vue

@@ -175,11 +175,7 @@ export default {
   },
   methods: {
     getInvoiceTitle (invoice) {
-      if (invoice.item_info.item_type === 'CLASSROOM') {
-        return invoice.item_info.title
-      } else {
-        return invoice.item_info.title || '-'
-      }
+      return invoice.title || '-'
     },
     search () {
       this.$refs.entityIndex.search()