|
@@ -83,17 +83,29 @@
|
|
|
<q-separator />
|
|
<q-separator />
|
|
|
<q-card-section>
|
|
<q-card-section>
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
- <div class="col-md-4 col-12 flex items-center justify-start">
|
|
|
|
|
|
|
+ <div v-if="invoice.item_type==='CLASSROOM'"
|
|
|
|
|
+ class="col-md-4 col-12 flex items-center justify-start">
|
|
|
<q-img :src="invoice.item_info.thumbnail"
|
|
<q-img :src="invoice.item_info.thumbnail"
|
|
|
width="100px" />
|
|
width="100px" />
|
|
|
{{ invoice.item_info.title }}
|
|
{{ invoice.item_info.title }}
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="col-md-4 col-12">
|
|
|
|
|
|
|
+ <div v-else
|
|
|
|
|
+ class="col-md-4 col-12 flex items-center justify-start">
|
|
|
|
|
+ {{ invoice.title }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="invoice.item_type==='CLASSROOM'"
|
|
|
|
|
+ class="col-md-4 col-12">
|
|
|
<q-icon name="isax:user" />
|
|
<q-icon name="isax:user" />
|
|
|
استاد:
|
|
استاد:
|
|
|
{{ invoice.item_info.professor_info.firstname }}
|
|
{{ invoice.item_info.professor_info.firstname }}
|
|
|
{{ invoice.item_info.professor_info.lastname }}
|
|
{{ invoice.item_info.professor_info.lastname }}
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div v-else-if="invoice.item_type==='STORE_BASKET'"
|
|
|
|
|
+ class="col-md-4 col-12">
|
|
|
|
|
+ <q-icon name="isax:user" />
|
|
|
|
|
+ کد سفارش:
|
|
|
|
|
+ {{ invoice.item_info.id }}
|
|
|
|
|
+ </div>
|
|
|
<div class="col-md-4 col-12">
|
|
<div class="col-md-4 col-12">
|
|
|
<q-icon name="isax:card" />
|
|
<q-icon name="isax:card" />
|
|
|
قیمت:
|
|
قیمت:
|