|
@@ -7,7 +7,7 @@
|
|
|
products-step
|
|
|
tab-content(title='Cómo quieres pagar?')
|
|
|
journal-step
|
|
|
- tab-content(:title="selectedJournal && selectedJournal.type === 'cash' ? 'Qué monto vas a pagar?' : 'Tienes alguna referencia de pago?'")
|
|
|
+ tab-content(title='Qué monto vas a pagar?')
|
|
|
payment-step
|
|
|
</template>
|
|
|
|
|
@@ -19,7 +19,7 @@
|
|
|
import JournalStep from '@/components/journal/JournalStep'
|
|
|
import PaymentStep from '@/components/payment/PaymentStep'
|
|
|
|
|
|
- import { mapGetters, mapActions } from 'vuex'
|
|
|
+ import { mapActions } from 'vuex'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
@@ -30,15 +30,9 @@
|
|
|
JournalStep,
|
|
|
PaymentStep
|
|
|
},
|
|
|
- computed: mapGetters([
|
|
|
- 'selectedJournal'
|
|
|
- ]),
|
|
|
methods: mapActions([
|
|
|
'initPurchase'
|
|
|
]),
|
|
|
- /**
|
|
|
- *
|
|
|
- */
|
|
|
mounted() {
|
|
|
this.initPurchase()
|
|
|
}
|