mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pos_pms_link:
- Add translation. - Add improved search. - Add note to pos.order.line with reservation and room. - Add room to list. - Add new domain. - Add reservation confirm popup. - Add hides reservation payment button if there is payment lines in the order.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<t t-name="pos_pms_link.PaymentScreen" t-inherit="point_of_sale.PaymentScreen" t-inherit-mode="extension" owl="1">
|
||||
<xpath expr="//div[hasclass('paymentmethods')]" position="inside">
|
||||
<div class="button paymentmethod">
|
||||
<div class="payment-name" t-if="env.pos.config.pay_on_reservation" t-on-click="selectReservation">Reservation</div>
|
||||
<div class="payment-name" t-if="env.pos.config.pay_on_reservation and currentOrder.paymentlines.length == 0" t-on-click="selectReservation">Reservation</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
<td>
|
||||
<t t-esc="props.reservation.partner_name" />
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="props.reservation.rooms" />
|
||||
</td>
|
||||
<td>
|
||||
<t t-esc="props.reservation.checkin" />
|
||||
</td>
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Partner name</th>
|
||||
<th>Room</th>
|
||||
<th>Checkin</th>
|
||||
<th>Checkout</th>
|
||||
<th>Adults</th>
|
||||
|
||||
Reference in New Issue
Block a user