7253-devToTest_2418 #2350

Merged
alexm merged 320 commits from 7253-devToTest_2418 into test 2024-04-23 08:02:46 +00:00
1 changed files with 6 additions and 6 deletions
Showing only changes of commit e769081a74 - Show all commits

View File

@ -5,12 +5,12 @@ BEGIN
* Muestra información sobre tasas de cambio de Dolares * Muestra información sobre tasas de cambio de Dolares
*/ */
SELECT SELECT
t.year, t.year año,
t.month, t.month mes,
pay.dollars, pay.dollars dolares,
pay.changePractical, pay.changePractical cambioPractico,
CAST(SUM(iit.foreignValue ) / SUM(iit.taxableBase) AS DECIMAL(5,4)) cambioTeorico, CAST(SUM(iit.foreignValue ) / SUM(iit.taxableBase) AS DECIMAL(5,4))cambioTeorico,
pay.changeOfficial pay.changeOfficial cambioOficial
FROM invoiceIn ii FROM invoiceIn ii
JOIN time t ON t.dated = ii.issued JOIN time t ON t.dated = ii.issued
JOIN invoiceInTax iit ON ii.id = iit.invoiceInFk JOIN invoiceInTax iit ON ii.id = iit.invoiceInFk