This commit is contained in:
parent
3e5b6a9ad1
commit
e769081a74
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue