Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odoo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
odoo
Commits
ca720dd5
Commit
ca720dd5
authored
Jun 16, 2023
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove log
parent
5c8f5cf7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
+0
-1
pos_payment_terminal.js
...os_payment_terminal/static/src/js/pos_payment_terminal.js
+0
-1
No files found.
extra_addons/pos_payment_terminal/static/src/js/pos_payment_terminal.js
View file @
ca720dd5
...
@@ -76,7 +76,6 @@ odoo.define('pos_payment_terminal.pos_payment_terminal', function (require) {
...
@@ -76,7 +76,6 @@ odoo.define('pos_payment_terminal.pos_payment_terminal', function (require) {
const
max_curent_amount
=
current_max
-
total_received
+
order
.
selected_paymentline
.
get_amount
();
const
max_curent_amount
=
current_max
-
total_received
+
order
.
selected_paymentline
.
get_amount
();
data
[
"amount"
]
=
round_pr
(
Math
.
max
(
0
,
max_curent_amount
),
this
.
pos
.
currency
.
rounding
);
data
[
"amount"
]
=
round_pr
(
Math
.
max
(
0
,
max_curent_amount
),
this
.
pos
.
currency
.
rounding
);
}
}
console
.
log
(
data
[
"amount"
]);
if
(
this
.
wait_terminal_answer
())
{
if
(
this
.
wait_terminal_answer
())
{
screen
.
$
(
'.delete-button'
).
css
(
'display'
,
'none'
);
screen
.
$
(
'.delete-button'
).
css
(
'display'
,
'none'
);
this
.
message
(
'payment_terminal_transaction_start_with_return'
,
{
'payment_info'
:
JSON
.
stringify
(
data
)},
{
timeout
:
240000
}).
then
(
function
(
answer
)
{
this
.
message
(
'payment_terminal_transaction_start_with_return'
,
{
'payment_info'
:
JSON
.
stringify
(
data
)},
{
timeout
:
240000
}).
then
(
function
(
answer
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment