feat(handover): one hand-over sheet replaces the separate sale/plantare doors

'Seeds changed hands' is now the single entry point on the variety
detail (and per lot row): direction (gave/received), one-tap 'all of it'
(default — the whole-plant/shrub case), optional partial quantity,
counterparty, and reveal-on-tap money and return-promise sections that
spawn the Sale/Plantare rows through recordHandover in one save.

Zero-lot varieties still work (ledger rows only); several lots get a
chip picker. The Sales/Plantares screens keep their own add buttons for
off-app records — the sheets stay, demoted to secondary.

i18n handover block in en/es/pt/ast; widget tests for the flow.
This commit is contained in:
vjrj 2026-07-11 07:59:23 +02:00
parent 665e3e9452
commit 269fb59070
12 changed files with 849 additions and 152 deletions

View file

@ -619,6 +619,19 @@
"settledSection": "Fechos",
"removeConfirm": "¿Quitar esti compromisu?"
},
"handover": {
"title": "Di o recibí semientes",
"help": "Un regalu, un truecu o una venta: apúntalo, con promesa de devolver semiente o ensin ella.",
"iGave": "Di semientes",
"iReceived": "Recibí semientes",
"whichLot": "¿De qué llote?",
"howMuch": "¿Cuánto?",
"allOfIt": "Too",
"partOfIt": "Una parte",
"paymentChip": "Hubo perres pel mediu",
"promiseGave": "Van devolveme semiente",
"promiseReceived": "Voi devolver semiente"
},
"sale": {
"title": "Ventes",
"help": "Rexistra semilla vendida o mercada — dineru, Ğ1 o cualquier moneda. Un modelu aparte del regalu y del Plantare. Enxamás se cobra comisión poles semilles.",