Преглед на файлове

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

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