mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
Fix re-taken order asks for new buyer invoice
This commit is contained in:
parent
9f57667f36
commit
42cf915dea
@ -306,6 +306,7 @@ class Logics:
|
|||||||
order.taker = None
|
order.taker = None
|
||||||
order.taker_bond = None
|
order.taker_bond = None
|
||||||
order.trade_escrow = None
|
order.trade_escrow = None
|
||||||
|
order.payout = None
|
||||||
cls.publish_order(order)
|
cls.publish_order(order)
|
||||||
send_message.delay(order.id,'order_published')
|
send_message.delay(order.id,'order_published')
|
||||||
# Reward maker with part of the taker bond
|
# Reward maker with part of the taker bond
|
||||||
@ -661,6 +662,8 @@ class Logics:
|
|||||||
valid = cls.settle_bond(order.taker_bond)
|
valid = cls.settle_bond(order.taker_bond)
|
||||||
if valid:
|
if valid:
|
||||||
order.taker = None
|
order.taker = None
|
||||||
|
order.payout = None
|
||||||
|
order.trade_escrow = None
|
||||||
cls.publish_order(order)
|
cls.publish_order(order)
|
||||||
send_message.delay(order.id,'order_published')
|
send_message.delay(order.id,'order_published')
|
||||||
# Reward maker with part of the taker bond
|
# Reward maker with part of the taker bond
|
||||||
|
@ -30,6 +30,7 @@ const someMethods = [
|
|||||||
{name: "DaviPlata",icon:'daviplata'},
|
{name: "DaviPlata",icon:'daviplata'},
|
||||||
{name: "CoDi",icon:'codi'},
|
{name: "CoDi",icon:'codi'},
|
||||||
{name: "TaiwanPay",icon:'taiwanpay'},
|
{name: "TaiwanPay",icon:'taiwanpay'},
|
||||||
|
{name: "MaiCoin",icon:'maicoin'},
|
||||||
{name: "MercadoPago",icon:'mercadopago'},
|
{name: "MercadoPago",icon:'mercadopago'},
|
||||||
{name: "Monero",icon:'monero'},
|
{name: "Monero",icon:'monero'},
|
||||||
{name: "USDT",icon:'usdt'},
|
{name: "USDT",icon:'usdt'},
|
||||||
|
@ -384,7 +384,7 @@ class TradeBox extends Component {
|
|||||||
<ListItem>
|
<ListItem>
|
||||||
<Typography component="body2" variant="body2" align="left">
|
<Typography component="body2" variant="body2" align="left">
|
||||||
<p>{t("Be patient while robots check the book. This box will ring 🔊 once a robot takes your order, then you will have {{invoice_escrow_duration}} hours to reply. If you do not reply, you risk losing your bond.", {invoice_escrow_duration: pn(this.invoice_escrow_duration)})} </p>
|
<p>{t("Be patient while robots check the book. This box will ring 🔊 once a robot takes your order, then you will have {{invoice_escrow_duration}} hours to reply. If you do not reply, you risk losing your bond.", {invoice_escrow_duration: pn(this.invoice_escrow_duration)})} </p>
|
||||||
<p>{t("If the order expires untaken, your bond will return to you and no action needed.")}</p>
|
<p>{t("If the order expires untaken, your bond will return to you (no action needed).")}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
|
@ -195,6 +195,7 @@
|
|||||||
"You asked for a collaborative cancellation":"You asked for a collaborative cancellation",
|
"You asked for a collaborative cancellation":"You asked for a collaborative cancellation",
|
||||||
"Invoice expired. You did not confirm publishing the order in time. Make a new order.":"Invoice expired. You did not confirm publishing the order in time. Make a new order.",
|
"Invoice expired. You did not confirm publishing the order in time. Make a new order.":"Invoice expired. You did not confirm publishing the order in time. Make a new order.",
|
||||||
"This order has been cancelled by the maker":"This order has been cancelled by the maker",
|
"This order has been cancelled by the maker":"This order has been cancelled by the maker",
|
||||||
|
"Invoice expired. You did not confirm taking the order in time.":"Invoice expired. You did not confirm taking the order in time.",
|
||||||
"Penalty lifted, good to go!":"Penalty lifted, good to go!",
|
"Penalty lifted, good to go!":"Penalty lifted, good to go!",
|
||||||
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s",
|
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s",
|
||||||
"Too low":"Too low",
|
"Too low":"Too low",
|
||||||
|
@ -195,6 +195,7 @@
|
|||||||
"You asked for a collaborative cancellation":"Solicitaste cancelar colaborativamente",
|
"You asked for a collaborative cancellation":"Solicitaste cancelar colaborativamente",
|
||||||
"Invoice expired. You did not confirm publishing the order in time. Make a new order.": "Factura caducada: no confirmaste la publicación de la orden a tiempo. Puedes crear una nueva orden.",
|
"Invoice expired. You did not confirm publishing the order in time. Make a new order.": "Factura caducada: no confirmaste la publicación de la orden a tiempo. Puedes crear una nueva orden.",
|
||||||
"This order has been cancelled by the maker":"El creador ha cancelado esta orden",
|
"This order has been cancelled by the maker":"El creador ha cancelado esta orden",
|
||||||
|
"Invoice expired. You did not confirm taking the order in time.":"La factura retenida ha expirado. Al no bloquearla a tiempo, no has confirmado tomar la orden.",
|
||||||
"Penalty lifted, good to go!":"Sanción revocada, ¡vamos!",
|
"Penalty lifted, good to go!":"Sanción revocada, ¡vamos!",
|
||||||
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"¡No puedes tomar una orden aún! Espera {{timeMin}}m {{timeSec}}s",
|
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"¡No puedes tomar una orden aún! Espera {{timeMin}}m {{timeSec}}s",
|
||||||
"Too low": "Muy poco",
|
"Too low": "Muy poco",
|
||||||
@ -240,7 +241,7 @@
|
|||||||
"Lock {{amountSats}} Sats as collateral": "Bloquea {{amountSats}} Sats como colateral",
|
"Lock {{amountSats}} Sats as collateral": "Bloquea {{amountSats}} Sats como colateral",
|
||||||
"Copy to clipboard": "Copiar al portapapeles",
|
"Copy to clipboard": "Copiar al portapapeles",
|
||||||
"This is a hold invoice, it will freeze in your wallet. It will be charged only if you cancel or lose a dispute.": "Esto es una factura retenida, los Sats se bloquean en tu cartera. Solo se cobrará si cancelas o pierdes una disputa.",
|
"This is a hold invoice, it will freeze in your wallet. It will be charged only if you cancel or lose a dispute.": "Esto es una factura retenida, los Sats se bloquean en tu cartera. Solo se cobrará si cancelas o pierdes una disputa.",
|
||||||
"This is a hold invoice, it will freeze in your wallet. It will be released to the buyer once you confirm to have received the {{currencyCode}}.": "Esto es una factura retenida, los Sats se bloquean en tu cartera. Será liberada al comprador cuando confirmes que has recibido el {{currencyCode}}.",
|
"This is a hold invoice, it will freeze in your wallet. It will be released to the buyer once you confirm to have received the {{currencyCode}}.": "Esto es una factura retenida, los Sats se bloquean en tu cartera. Será liberada al comprador al confirmar que has recibido {{currencyCode}}.",
|
||||||
"Your maker bond is locked": "Tu fianza de creador está bloqueada",
|
"Your maker bond is locked": "Tu fianza de creador está bloqueada",
|
||||||
"Your taker bond is locked": "Tu fianza de tomador está bloqueada",
|
"Your taker bond is locked": "Tu fianza de tomador está bloqueada",
|
||||||
"Your maker bond was settled": "Tu fianza se ha cobrado",
|
"Your maker bond was settled": "Tu fianza se ha cobrado",
|
||||||
|
@ -195,6 +195,7 @@
|
|||||||
"You asked for a collaborative cancellation":"You asked for a collaborative cancellation",
|
"You asked for a collaborative cancellation":"You asked for a collaborative cancellation",
|
||||||
"Invoice expired. You did not confirm publishing the order in time. Make a new order.":"Invoice expired. You did not confirm publishing the order in time. Make a new order.",
|
"Invoice expired. You did not confirm publishing the order in time. Make a new order.":"Invoice expired. You did not confirm publishing the order in time. Make a new order.",
|
||||||
"This order has been cancelled by the maker":"This order has been cancelled by the maker",
|
"This order has been cancelled by the maker":"This order has been cancelled by the maker",
|
||||||
|
"Invoice expired. You did not confirm taking the order in time.":"Invoice expired. You did not confirm taking the order in time.",
|
||||||
"Penalty lifted, good to go!":"Penalty lifted, good to go!",
|
"Penalty lifted, good to go!":"Penalty lifted, good to go!",
|
||||||
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s",
|
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s",
|
||||||
"Too low":"Too low",
|
"Too low":"Too low",
|
||||||
|
@ -195,6 +195,7 @@
|
|||||||
"You asked for a collaborative cancellation":"You asked for a collaborative cancellation",
|
"You asked for a collaborative cancellation":"You asked for a collaborative cancellation",
|
||||||
"Invoice expired. You did not confirm publishing the order in time. Make a new order.":"Invoice expired. You did not confirm publishing the order in time. Make a new order.",
|
"Invoice expired. You did not confirm publishing the order in time. Make a new order.":"Invoice expired. You did not confirm publishing the order in time. Make a new order.",
|
||||||
"This order has been cancelled by the maker":"This order has been cancelled by the maker",
|
"This order has been cancelled by the maker":"This order has been cancelled by the maker",
|
||||||
|
"Invoice expired. You did not confirm taking the order in time.":"Invoice expired. You did not confirm taking the order in time.",
|
||||||
"Penalty lifted, good to go!":"Penalty lifted, good to go!",
|
"Penalty lifted, good to go!":"Penalty lifted, good to go!",
|
||||||
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s",
|
"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s":"You cannot take an order yet! Wait {{timeMin}}m {{timeSec}}s",
|
||||||
"Too low":"Too low",
|
"Too low":"Too low",
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user