laravel-money
laravel-money copied to clipboard
Currency formatting and conversion package for Laravel
Encountering a conversion rate below 0.9 from the source currency to the target currency, along with the absence of cents in the currency, can be quite tricky during conversion. This...
This change enables app templates to be shorter. ```blade $currency = \Akaunting\Money\Currency::GBP(); // Before this PR, this template would throw an error: // One would have to do this: ```...
Hi Do you have an example on how to doe e.g. a sum() of records that have Money as a column type ?
Hi in https://github.com/akaunting/laravel-money/issues/71 there is a comment that indicate that you can store the currency configuration in a db instead of the config file. I tried to look for the...
Unless I am doing something wrong, the following seems incorrect: Custom conversion of 0.36 EUR to GBP using an exchange rate of 1.10 EUR to 1 GBP. To get the...
After upgrading to v5.2.2, my translations are not loaded anymore. The problem lies with the third argument passed to Validator::extend. Problem Code: Validator::extend('currency_code', function ($attribute, $value, $parameters, $validator) use(&$currency_code) {...