소스 검색

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

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()