feat: refs #6500
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-04-17 13:11:28 +02:00
parent 3e5b6a9ad1
commit e769081a74
1 changed files with 6 additions and 6 deletions

View File

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