mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-22 07:32:07 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright (C) 2023-Today GRAP (http://www.grap.coop)
|
||||
@author Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.pos .payment-numpad .numpad {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.pos .payment-screen .left-content .button.validation {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pos .payment-screen .center-content .button.validation {
|
||||
width: 50%;
|
||||
float: left;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.pos .payment-screen .center-content .numpad {
|
||||
float: left;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2023-Today GRAP (http://www.grap.coop)
|
||||
@author Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
-->
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t
|
||||
t-name="PaymentScreen"
|
||||
t-inherit="point_of_sale.PaymentScreen"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr="//PaymentScreenNumpad" position="before">
|
||||
<div
|
||||
t-if="!env.isMobile"
|
||||
class="button next validation"
|
||||
t-att-class="{ highlight: currentOrder.is_paid() and currentOrder._isValidEmptyOrder() }"
|
||||
t-on-click="() => this.trigger('validate-order')"
|
||||
>
|
||||
<div class="pay-circle">
|
||||
<i
|
||||
class="fa fa-chevron-right"
|
||||
role="img"
|
||||
aria-label="Pay"
|
||||
title="Pay"
|
||||
/>
|
||||
</div>
|
||||
<span class="next_text">Validate</span>
|
||||
</div>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue