Complete G2B social QA and prepare joint L1 delivery with compatible rollback
This commit is contained in:
@@ -5106,5 +5106,88 @@
|
||||
"path": "tests/frontend/fixtures/iva-services.json",
|
||||
"sha256": "8b215b97f4044d259a6f6d0075738591eccb4a1abd1b06cd4f819d5d83c430d2"
|
||||
}
|
||||
},
|
||||
"iva_l1_g2_social_joint_delivery_qa_20261024": {
|
||||
"status": "G2B_QA_and_joint_delivery_prepared;notinstalled;L1open",
|
||||
"candidate": null,
|
||||
"preserved": [
|
||||
"675cf38f/0e644b55",
|
||||
"5030116e/89ab2883",
|
||||
"689e7cbe/8719e916",
|
||||
"544068e8/d89912e5",
|
||||
"reference/stabilization-20261024"
|
||||
],
|
||||
"G2B_mapping": {
|
||||
"AUD-SIM-L1-P009": [
|
||||
"social_assistance_public",
|
||||
"social_assistance_nonprofit"
|
||||
],
|
||||
"AUD-SIM-L1-P011": [
|
||||
"social_care_public",
|
||||
"social_care_nonprofit"
|
||||
],
|
||||
"AUD-SIM-L1-P012": [
|
||||
"activity_facilities_public",
|
||||
"activity_facilities_nonprofit"
|
||||
]
|
||||
},
|
||||
"counts": {
|
||||
"original_IDs": 133,
|
||||
"QA_covered_branches": 12,
|
||||
"functional_pending": 120,
|
||||
"documentary_pending": 1,
|
||||
"new_branches": 3,
|
||||
"new_treatments": 6,
|
||||
"joint_new_group_treatments": 15,
|
||||
"joint_conditional_treatments_including_initial10": 25
|
||||
},
|
||||
"P010_refinement": "9(2)(b)saysseguranca,notsegurancasocial;labelcorrected,stillpending,sameID",
|
||||
"proofs": {
|
||||
"new_frontend_tests": 2,
|
||||
"new_API_tests": 1,
|
||||
"API_assertions": 15,
|
||||
"database": "simulator_fiscal_delta_20261021_test:55441",
|
||||
"rollback": true,
|
||||
"UI": "Public/nonprofitdifferentconditions;missingpricecondition->indeterminate;restored->600MZN;UI/API/recoveredreport311/Manica/2026-03/revision3",
|
||||
"prior_books_309_310_unchanged": true,
|
||||
"accepted_tests_repeated": false,
|
||||
"accepted_Word_PDF_regenerated": false,
|
||||
"types": "passed",
|
||||
"build": "passed",
|
||||
"readonly_reversal_QA": "Patchapplies;L1inputs/calculationdisabled;storedresultanddetailsremain;normalcandidateunmodified",
|
||||
"UI_reload": "Revision3/Manica/311/2026-03/600MZN maintained;normalcomponenteditable;readonlypatchonlyinQAvariant"
|
||||
},
|
||||
"delivery_manifest": "docs\\investmoz\\simulations\\l1-joint-delivery-20261024.json",
|
||||
"runtime_paths": [
|
||||
"resources/js/components/simulation-monthly-iva.tsx",
|
||||
"resources/js/components/simulation-operations.tsx",
|
||||
"resources/js/lib/fiscal-rational.ts",
|
||||
"resources/js/lib/iva-acquisitions.ts",
|
||||
"resources/js/lib/iva-operations.ts",
|
||||
"resources/js/lib/project-dossier.ts"
|
||||
],
|
||||
"schema_or_permission_changes": false,
|
||||
"active_changes": false,
|
||||
"published_rule_activation": false,
|
||||
"main_pushed": false,
|
||||
"homologation_delivery": false,
|
||||
"remaining_dependency": "P001specificinstruction05/06doesnotblockindependentgroups",
|
||||
"artifacts": {
|
||||
"calculated.json": "c317830b9a9c335709a2af672b2af0d36cb9d64ac59648d5df3c7ab05a4aa77d",
|
||||
"ui-calculated.json": "9151c045c9344e2b36a9b9b200abb823e855cadb4140384f7d32518c312d66d4",
|
||||
"recovered.json": "bedc32fff1dccef46199c675fb4ebb23181b0615b3e758391587242ba7b92f96",
|
||||
"frontend-tests.txt": "63457000642f7e8a1d4bd511ce6848fb4b7a4510cf7829c984a3aa7c0d1b9b62",
|
||||
"api-tests.txt": "30e1a37bfa8a79aceca4be216713994eadfc2f84cc1cdb9ad1d18379a8058290",
|
||||
"api-tests.xml": "1c2fa8c615ffca04ff838b82131102ada60f24469b92b065346cfb10ae00d531",
|
||||
"social-model.json": "5883bf3d063eebd73732302d4df3b4bdd111b0922fb85f1fbc60afe0644ce57f",
|
||||
"social-report.html": "1febdfc2794924ac3e6f6c7aef8acc4fb21c487f258d7462d6cc9a9e14d5ccc1",
|
||||
"types.txt": "5346ac8a6566c1c38cb0bbda6a029579df58cd78af78e2c4845d9c82b5d1d76c",
|
||||
"build.txt": "4f0952cd1a66a3d991796f138e6de6a69867b4d0ccc212c895322068384c3cbf",
|
||||
"checks.json": "f366fb2d17bd44e91ee7642dd28e935d71f574652e62868f612a83de257eacea",
|
||||
"rollback-proof.json": "2918f7b4d3436cdf44d0605fdd88d389a30567f6a876b4223e680f7c50c05bfc",
|
||||
"qa-rollback.png": "fde7ad60608a3572e0537f61a6947b1c1513d535ab522c7db3f7a5666e49ac56",
|
||||
"qa-recovered.png": "5bd4748824137cda2c1465ce13a302df85f5a4fe3e4572a4f7ecc19ea075a310",
|
||||
"qa-result.png": "3f88f884925258230ec91942f94ee0cacba3e9472c250a70cdce8b1bb41682ba"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,240 @@
|
||||
{
|
||||
"status": "prepared_QA_not_installed",
|
||||
"candidate": null,
|
||||
"base_remote_main": "1655f57e698fef4099c2886069a79cd1c920f792",
|
||||
"fetch": "completed;noforce;localmainnotused",
|
||||
"bundle": null,
|
||||
"coverage": {
|
||||
"initial_QA": "544068e8/d89912e5:10conditionaltreatments",
|
||||
"rational_QA": "689e7cbe/8719e916;exactincluded5%andreaders",
|
||||
"G1": "5030116e/89ab2883:4branches/4treatments",
|
||||
"G2A": "675cf38f/0e644b55:5branches/5treatments",
|
||||
"G2B": {
|
||||
"AUD-SIM-L1-P009": [
|
||||
"social_assistance_public",
|
||||
"social_assistance_nonprofit"
|
||||
],
|
||||
"AUD-SIM-L1-P011": [
|
||||
"social_care_public",
|
||||
"social_care_nonprofit"
|
||||
],
|
||||
"AUD-SIM-L1-P012": [
|
||||
"activity_facilities_public",
|
||||
"activity_facilities_nonprofit"
|
||||
]
|
||||
},
|
||||
"conditional_treatments_total": 25,
|
||||
"indeterminate_options": 2,
|
||||
"QA_covered_inventory_IDs": [
|
||||
"AUD-SIM-L1-P003",
|
||||
"AUD-SIM-L1-P004",
|
||||
"AUD-SIM-L1-P005",
|
||||
"AUD-SIM-L1-P006",
|
||||
"AUD-SIM-L1-P007",
|
||||
"AUD-SIM-L1-P009",
|
||||
"AUD-SIM-L1-P011",
|
||||
"AUD-SIM-L1-P012",
|
||||
"AUD-SIM-L1-P017",
|
||||
"AUD-SIM-L1-P018",
|
||||
"AUD-SIM-L1-P029",
|
||||
"AUD-SIM-L1-P030"
|
||||
],
|
||||
"pending_functional_IDs": [
|
||||
"AUD-SIM-L1-P002",
|
||||
"AUD-SIM-L1-P008",
|
||||
"AUD-SIM-L1-P010",
|
||||
"AUD-SIM-L1-P013",
|
||||
"AUD-SIM-L1-P014",
|
||||
"AUD-SIM-L1-P015",
|
||||
"AUD-SIM-L1-P016",
|
||||
"AUD-SIM-L1-P019",
|
||||
"AUD-SIM-L1-P020",
|
||||
"AUD-SIM-L1-P021",
|
||||
"AUD-SIM-L1-P022",
|
||||
"AUD-SIM-L1-P023",
|
||||
"AUD-SIM-L1-P024",
|
||||
"AUD-SIM-L1-P025",
|
||||
"AUD-SIM-L1-P026",
|
||||
"AUD-SIM-L1-P027",
|
||||
"AUD-SIM-L1-P028",
|
||||
"AUD-SIM-L1-P031",
|
||||
"AUD-SIM-L1-P032",
|
||||
"AUD-SIM-L1-P033",
|
||||
"AUD-SIM-L1-P034",
|
||||
"AUD-SIM-L1-P035",
|
||||
"AUD-SIM-L1-P036",
|
||||
"AUD-SIM-L1-P037",
|
||||
"AUD-SIM-L1-P038",
|
||||
"AUD-SIM-L1-P039",
|
||||
"AUD-SIM-L1-P040",
|
||||
"AUD-SIM-L1-P041",
|
||||
"AUD-SIM-L1-P042",
|
||||
"AUD-SIM-L1-P043",
|
||||
"AUD-SIM-L1-P044",
|
||||
"AUD-SIM-L1-P045",
|
||||
"AUD-SIM-L1-P046",
|
||||
"AUD-SIM-L1-P047",
|
||||
"AUD-SIM-L1-P048",
|
||||
"AUD-SIM-L1-P049",
|
||||
"AUD-SIM-L1-P050",
|
||||
"AUD-SIM-L1-P051",
|
||||
"AUD-SIM-L1-P052",
|
||||
"AUD-SIM-L1-P053",
|
||||
"AUD-SIM-L1-P054",
|
||||
"AUD-SIM-L1-P055",
|
||||
"AUD-SIM-L1-P056",
|
||||
"AUD-SIM-L1-P057",
|
||||
"AUD-SIM-L1-P058",
|
||||
"AUD-SIM-L1-P059",
|
||||
"AUD-SIM-L1-P060",
|
||||
"AUD-SIM-L1-P061",
|
||||
"AUD-SIM-L1-P062",
|
||||
"AUD-SIM-L1-P063",
|
||||
"AUD-SIM-L1-P064",
|
||||
"AUD-SIM-L1-P065",
|
||||
"AUD-SIM-L1-P066",
|
||||
"AUD-SIM-L1-P067",
|
||||
"AUD-SIM-L1-P068",
|
||||
"AUD-SIM-L1-P069",
|
||||
"AUD-SIM-L1-P070",
|
||||
"AUD-SIM-L1-P071",
|
||||
"AUD-SIM-L1-P072",
|
||||
"AUD-SIM-L1-P073",
|
||||
"AUD-SIM-L1-P074",
|
||||
"AUD-SIM-L1-P075",
|
||||
"AUD-SIM-L1-P076",
|
||||
"AUD-SIM-L1-P077",
|
||||
"AUD-SIM-L1-P078",
|
||||
"AUD-SIM-L1-P079",
|
||||
"AUD-SIM-L1-P080",
|
||||
"AUD-SIM-L1-P081",
|
||||
"AUD-SIM-L1-P082",
|
||||
"AUD-SIM-L1-P083",
|
||||
"AUD-SIM-L1-P084",
|
||||
"AUD-SIM-L1-P085",
|
||||
"AUD-SIM-L1-P086",
|
||||
"AUD-SIM-L1-P087",
|
||||
"AUD-SIM-L1-P088",
|
||||
"AUD-SIM-L1-P089",
|
||||
"AUD-SIM-L1-P090",
|
||||
"AUD-SIM-L1-P091",
|
||||
"AUD-SIM-L1-P092",
|
||||
"AUD-SIM-L1-P093",
|
||||
"AUD-SIM-L1-P094",
|
||||
"AUD-SIM-L1-P095",
|
||||
"AUD-SIM-L1-P096",
|
||||
"AUD-SIM-L1-P097",
|
||||
"AUD-SIM-L1-P098",
|
||||
"AUD-SIM-L1-P099",
|
||||
"AUD-SIM-L1-P100",
|
||||
"AUD-SIM-L1-P101",
|
||||
"AUD-SIM-L1-P102",
|
||||
"AUD-SIM-L1-P103",
|
||||
"AUD-SIM-L1-P104",
|
||||
"AUD-SIM-L1-P105",
|
||||
"AUD-SIM-L1-P106",
|
||||
"AUD-SIM-L1-P107",
|
||||
"AUD-SIM-L1-P108",
|
||||
"AUD-SIM-L1-P109",
|
||||
"AUD-SIM-L1-P110",
|
||||
"AUD-SIM-L1-P111",
|
||||
"AUD-SIM-L1-P112",
|
||||
"AUD-SIM-L1-P113",
|
||||
"AUD-SIM-L1-P114",
|
||||
"AUD-SIM-L1-P115",
|
||||
"AUD-SIM-L1-P116",
|
||||
"AUD-SIM-L1-P117",
|
||||
"AUD-SIM-L1-P118",
|
||||
"AUD-SIM-L1-P119",
|
||||
"AUD-SIM-L1-P120",
|
||||
"AUD-SIM-L1-P121",
|
||||
"AUD-SIM-L1-P122",
|
||||
"AUD-SIM-L1-P123",
|
||||
"AUD-SIM-L1-P124",
|
||||
"AUD-SIM-L1-P125",
|
||||
"AUD-SIM-L1-P126",
|
||||
"AUD-SIM-L1-P127",
|
||||
"AUD-SIM-L1-P128",
|
||||
"AUD-SIM-L1-P129",
|
||||
"AUD-SIM-L1-P130",
|
||||
"AUD-SIM-L1-P131",
|
||||
"AUD-SIM-L1-P132",
|
||||
"AUD-SIM-L1-P133"
|
||||
],
|
||||
"pending_documentary_IDs": [
|
||||
"AUD-SIM-L1-P001"
|
||||
]
|
||||
},
|
||||
"runtime_delta": [
|
||||
{
|
||||
"path": "resources/js/components/simulation-monthly-iva.tsx",
|
||||
"sha256_LF": "27e9f7b0a6cd011d6278d5bf507c8df0a290432006d795e9f7bf03b05fc6b350"
|
||||
},
|
||||
{
|
||||
"path": "resources/js/components/simulation-operations.tsx",
|
||||
"sha256_LF": "ae8fafbff339c4b52bae11ad479caf0fb451e5543e59bfbf15becf9aab4c5d27"
|
||||
},
|
||||
{
|
||||
"path": "resources/js/lib/fiscal-rational.ts",
|
||||
"sha256_LF": "91234efa465a8660f71a56e48d280a602c56ecf2ccce9cf7a8d91db513a3ffd3"
|
||||
},
|
||||
{
|
||||
"path": "resources/js/lib/iva-acquisitions.ts",
|
||||
"sha256_LF": "846dbd2d2dbdd54ffcddae8623eeaa2ae4f7686c6e2db05590ffa893d3ffbfb0"
|
||||
},
|
||||
{
|
||||
"path": "resources/js/lib/iva-operations.ts",
|
||||
"sha256_LF": "fb41bf3d6cf14ee65bf242f5a2504f9d4758c8d87bb4c4e9eda4822f74aa4d7f"
|
||||
},
|
||||
{
|
||||
"path": "resources/js/lib/project-dossier.ts",
|
||||
"sha256_LF": "5a6ea8a8c7261fa1d24cca56e92617cd66f72bd027dbafec22d051e686e927d7"
|
||||
}
|
||||
],
|
||||
"schema_routes_permissions_dependencies_changed": false,
|
||||
"database_imports_migrations_seeds": [],
|
||||
"server_fiscal_rule_activation": false,
|
||||
"activation": {
|
||||
"method": "ExistingGitFF/merge+build+webhook;no new mandatory flag",
|
||||
"preflight": [
|
||||
"Re-fetchorigin/main;reconcileconcurrentchangeswithoutforce",
|
||||
"Confirmactualservedrevisionandvalidbackup/restoreresultthroughauthenticatedexistingprocess",
|
||||
"Usecompiledassets;excludeoutputs/syntheticdata/publichot/secrets",
|
||||
"No globalmigration,seed,taxpublication or datareplacement"
|
||||
],
|
||||
"installed_delta_only": [
|
||||
"servedrevisionandmanifesthash",
|
||||
"simulatorusesnewasset",
|
||||
"newoptions/readerscontextvisible;existingdraftrecoverable",
|
||||
"prioracceptedproofsreused;nosyntheticwritesinactive"
|
||||
]
|
||||
},
|
||||
"reversal": {
|
||||
"preferred": "ForwardGitcompatibilitycontainmentcommitusingpreparedreadonlypatch,notDBrestore;revertcontainmentcommitafterfix",
|
||||
"patch": {
|
||||
"patch": "docs\\investmoz\\simulations\\l1-joint-readonly-rollback-20261024.patch",
|
||||
"patch_sha256": "d25a81f025ffeeb5869161404eb23b9762d87e07b4a820c14b63d29359d0db0e",
|
||||
"component_before_sha256": "37676ccb4302e5fdf5dceb58291809f120ea204c2a8c6a59ede9585f8753aa73",
|
||||
"git_apply_check": true,
|
||||
"live_component_changed": false,
|
||||
"purpose": "Operational compatibility rollback: suspend edits/calculations in L1 panel only;keep catalogue,readers,history,API,otherforms and reports;no DBrestore or broad path disable"
|
||||
},
|
||||
"QA_UI": "L1inputs/calculationdisabled;details/result600MZN/revision3/readers/reportsremain;otherforms/APIpermissionsunchanged",
|
||||
"limitations": "UIoperationalcontainment,notAPIauthorizationchange;fullrollbackto1655wouldhidenewL1readersandisnotpreferred"
|
||||
},
|
||||
"destination_precheck": {
|
||||
"public_revision_url": "https://teste-investidor.tempo.co.mz/build/revision.json",
|
||||
"result": "HTTP403",
|
||||
"served_revision_verified_this_pass": false,
|
||||
"protected_installer_or_current_backup_verified": false
|
||||
},
|
||||
"excluded": [
|
||||
"P001mapping",
|
||||
"120unimplementedbranches",
|
||||
"newtaxes",
|
||||
"IRPC/IRPS",
|
||||
"statistics/AI",
|
||||
"syntheticQArecordsandruntimefiles"
|
||||
],
|
||||
"delivery_performed": false
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
--- a/resources/js/components/simulation-operations.tsx
|
||||
+++ b/resources/js/components/simulation-operations.tsx
|
||||
@@ -9,6 +9,8 @@
|
||||
const save=(next:SalesBook)=>onChange('modelo_a_snapshot',saveSalesBook(draft,next));
|
||||
const change=(id:string,patch:Partial<SalesOperation>)=>run(()=>save({...book,rows:book.rows.map(r=>r.id===id?{...r,...patch}:r)}));
|
||||
return <section aria-label="Operações IVA por oportunidade" className="space-y-3 rounded border p-3">
|
||||
+ <p role="status">Novos cálculos de operações IVA temporariamente suspensos. Resultados guardados e relatórios permanecem disponíveis.</p>
|
||||
+ <fieldset disabled>
|
||||
<h4 className="font-semibold">Operações de IVA — enquadramento das vendas</h4>
|
||||
<p>Oportunidade {String(draft.context_opportunity||'entrada geral')}; moeda original {book.currency||'por indicar'}. Cobertura2026/MZN. Reutilize as vendas e complete apenas o enquadramento. Este bloco classifica as operações; não substitui nem soma novamente a execução mensal geral acima.</p>
|
||||
<p>Uma empresa pode ter operações com tratamentos diferentes. Os valores são projecções sob pressupostos declarados, sem certificar facturas, reconhecer créditos ou submeter uma declaração à AT.</p>
|
||||
@@ -36,6 +38,7 @@
|
||||
{book.periods.map(p=><label className="block" key={p.period}><input type="checkbox" checked={p.complete} onChange={e=>run(()=>save({...book,periods:book.periods.map(v=>v.period===p.period?{...v,complete:e.target.checked}:v)}))}/> {p.period}: incluí todas as operações deste período; lista vazia significa ausência expressamente confirmada.</label>)}
|
||||
<p>Limites: outras isenções/bases especiais e correspondência do campo06 permanecem por delimitar. IVA incluído a5% conserva a fracção exacta e apresenta um decimal a6casas; a aproximação de apresentação não constitui regra declarativa. O desconhecido nunca é assumido como zero.</p>
|
||||
<button type="button" disabled={!book.periods.length} className="rounded bg-emerald-800 p-2 text-white disabled:opacity-50" onClick={()=>run(()=>save(recordSales(draft,book)))}>Calcular e guardar operações IVA</button>
|
||||
+ </fieldset>
|
||||
{book.result&&<><p role="status">{salesCurrent(draft,book)?'Resultado correspondente às entradas.':'Resultado histórico conservado; reveja as alterações antes de recalcular.'}</p><dl>{salesReportRows(draft).map(([,label,value,origin],index)=><div className="break-inside-avoid border-t py-2" key={index}><dt className="font-semibold">{label}</dt><dd>{value}<small className="block">{origin}</small></dd></div>)}</dl></>}
|
||||
</section>;
|
||||
}
|
||||
Reference in New Issue
Block a user