You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of the "convertToUSD" and "convertToInvoiceCurrency" method I fixed the code in the image so that any currency other than dollar will be converted to dollars and it won't throw an error, I think it will be useful for the official installation.
At the end of the "convertToUSD" and "convertToInvoiceCurrency" method I fixed the code in the image so that any currency other than dollar will be converted to dollars and it won't throw an error, I think it will be useful for the official installation.
$currencyRate = Capsule::table("tblcurrencies")->where("code", $currency)->value("rate"); return round($amount / $currencyRate, 2);
The text was updated successfully, but these errors were encountered: