.pos-step
ticket(:customerName='selectedCustomer && selectedCustomer.name' :total='cartTotal' :items='cartItems')
form.payment-amount
.form-separator
h3 Detalles del Pago
hr
.form-item(v-show="paymentType === 'cash'")
label.form-label Monto a Pagar
input.form-input(:value='cartTotal | currency' readonly)
.form-item
label.form-label Monto Recibido
input.form-input(v-model='amountReceived' autofocus)
.form-item(v-show="paymentType === 'cash'")
hr
label.form-label Monto a Devolver
input.form-input(:value='paymentResidual | currency' readonly)
.form-item-table(v-show="paymentType === 'credit'")
table
thead
tr
th Monto a Pagar
th Fecha de Pago
tbody
tr(v-for='line in paymentLines')
td {{ line.total }}
td {{ line.date }}