ali 3 年 前
親
コミット
f7b5571d6a

+ 1 - 1
src/api/models/Wallet.js

@@ -52,7 +52,7 @@ export default class WalletAPI extends APIRepository {
   }
 
   deposit(data) {
-    const amount = data.amount ? data.amount * 10 : 0
+    const amount = data.amount ? data.amount : 0
     const invoice = data.invoice ? data.invoice : null
     return this.sendRequest({
       apiMethod: 'post',

+ 3 - 3
src/components/InvoicePaymentCard.vue

@@ -23,7 +23,7 @@
         <div class="final-price-value">
           {{ invoice.amount ? invoice.amount.toLocaleString('fa') : 0 }}
           <span class="unit">
-            تومان
+            ریال
           </span>
         </div>
       </div>
@@ -41,7 +41,7 @@
               {{ wallet.inventory ? wallet.inventory.toLocaleString('fa') : 0 }}
             </template>
             <span class="unit">
-              تومان
+              ریال
             </span>
           </div>
         </div>
@@ -54,7 +54,7 @@
           <div class="other-item-value">
             {{ (invoice.amount - wallet.inventory) ? (invoice.amount - wallet.inventory).toLocaleString('fa') : 0 }}
             <span class="unit">
-              تومان
+              ریال
             </span>
           </div>
         </div>

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

@@ -108,7 +108,7 @@ export default {
           {
             name: 'amount',
             required: true,
-            label: 'مبلغ تراکنش(تومان)',
+            label: 'مبلغ تراکنش(ریال)',
             align: 'left',
             field: row => row.amount.toLocaleString('fa')
           },

+ 2 - 2
src/components/Widgets/Invoice/AdminInvoiceShow/AdminInvoiceShow.vue

@@ -63,7 +63,7 @@
           <div class="col-md-3 col-12">
             <q-banner>
               {{ (invoice.amount ? invoice.amount.toLocaleString('fa') : 0) }}
-              تومان
+              ریال
             </q-banner>
           </div>
           <div class="col-md-3 col-12">
@@ -98,7 +98,7 @@
             <q-icon name="isax:card" />
             قیمت:
             {{ invoice.item_info?.price ? invoice.item_info.price.toLocaleString('fa') : 0 }}
-            تومان
+            ریال
           </div>
         </div>
       </q-card-section>

+ 1 - 1
src/components/Widgets/Invoice/InvoiceList/InvoiceList.vue

@@ -117,7 +117,7 @@ export default {
           {
             name: 'amount',
             required: true,
-            label: 'مبلغ تراکنش(تومان)',
+            label: 'مبلغ تراکنش(ریال)',
             align: 'left',
             field: row => row.amount.toLocaleString('fa')
           },

+ 2 - 2
src/components/Widgets/Invoice/InvoiceShow/InvoiceShow.vue

@@ -40,7 +40,7 @@
           <div class="col-md-3 col-12">
             <q-banner>
               {{ (invoice.amount ? invoice.amount.toLocaleString('fa') : 0) }}
-              تومان
+              ریال
             </q-banner>
           </div>
           <div class="col-md-3 col-12">
@@ -75,7 +75,7 @@
             <q-icon name="isax:card" />
             قیمت:
             {{ invoice.item_info?.price ? invoice.item_info.price.toLocaleString('fa') : 0 }}
-            تومان
+            ریال
           </div>
         </div>
       </q-card-section>

+ 1 - 1
src/components/Widgets/Other/AllClassrooms/AllClassrooms.vue

@@ -185,7 +185,7 @@
               </div>
               <div class="attribute-value">
                 {{classroom.price}}
-                تومان
+                ریال
               </div>
             </div>
           </q-card-section>

+ 1 - 1
src/components/Widgets/Other/ClassroomCarousel/ClassroomCarousel.vue

@@ -147,7 +147,7 @@
                 </div>
                 <div class="attribute-value">
                   {{classroom.price}}
-                  تومان
+                  ریال
                 </div>
               </div>
             </q-card-section>

+ 1 - 1
src/components/Widgets/Other/Shop/ShopPaymentFromWallet/ShopPaymentFromWallet.vue

@@ -208,7 +208,7 @@
                   </g>
                 </svg>
                 {{ classroom.price }}
-                تومان
+                ریال
               </div>
             </q-card-section>
           </q-card>

+ 1 - 1
src/components/Widgets/Other/ShowClassroomInfo/ShowClassroomInfo.vue

@@ -142,7 +142,7 @@
             </div>
             <div class="title">
               {{ classroom.price ? classroom.price.toLocaleString('fa') : 0 }}
-              تومان
+              ریال
             </div>
           </div>
         </div>

+ 1 - 1
src/components/Widgets/Payment/PaymentList/PaymentList.vue

@@ -132,7 +132,7 @@ export default {
           {
             name: 'amount',
             required: true,
-            label: 'مبلغ تراکنش (تومان)',
+            label: 'مبلغ تراکنش (ریال)',
             align: 'left',
             field: row => row.amount.toLocaleString('fa')
           },

+ 1 - 1
src/pages/Admin/Classroom/index.vue

@@ -139,7 +139,7 @@ export default {
           {
             name: 'title',
             required: true,
-            label: 'هزینه(تومان)',
+            label: 'هزینه(ریال)',
             align: 'left',
             field: row => row.price
           },

+ 1 - 1
src/pages/Admin/DiscussionCirclesClassroom/index.vue

@@ -123,7 +123,7 @@ export default {
           {
             name: 'title',
             required: true,
-            label: 'هزینه(تومان)',
+            label: 'هزینه(ریال)',
             align: 'left',
             field: row => row.price
           },