mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Merge pull request #10629 from firefly-iii/release-1753029916
🤖 Automatically merge the PR into the develop branch.
This commit is contained in:
@@ -185,7 +185,7 @@ class BillTransformer extends AbstractTransformer
|
|||||||
'links' => [
|
'links' => [
|
||||||
[
|
[
|
||||||
'rel' => 'self',
|
'rel' => 'self',
|
||||||
'uri' => '/bills/' . $bill->id,
|
'uri' => '/bills/'.$bill->id,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
@@ -242,13 +242,13 @@ class BillTransformer extends AbstractTransformer
|
|||||||
'currency_id' => $entry->transaction_currency_id,
|
'currency_id' => $entry->transaction_currency_id,
|
||||||
'currency_code' => $entry->transaction_currency_code,
|
'currency_code' => $entry->transaction_currency_code,
|
||||||
'currency_decimal_places' => $entry->transaction_currency_decimal_places,
|
'currency_decimal_places' => $entry->transaction_currency_decimal_places,
|
||||||
'amount' => Steam::bcround($entry->amount,$entry->transaction_currency_decimal_places),
|
'amount' => Steam::bcround($entry->amount, $entry->transaction_currency_decimal_places),
|
||||||
];
|
];
|
||||||
if (null !== $entry->foreign_amount && null !== $entry->foreign_currency_code) {
|
if (null !== $entry->foreign_amount && null !== $entry->foreign_currency_code) {
|
||||||
$array['foreign_currency_id'] = $entry->foreign_currency_id;
|
$array['foreign_currency_id'] = $entry->foreign_currency_id;
|
||||||
$array['foreign_currency_code'] = $entry->foreign_currency_code;
|
$array['foreign_currency_code'] = $entry->foreign_currency_code;
|
||||||
$array['foreign_currency_decimal_places'] = $entry->foreign_currency_decimal_places;
|
$array['foreign_currency_decimal_places'] = $entry->foreign_currency_decimal_places;
|
||||||
$array['foreign_amount'] = Steam::bcround($entry->foreign_amount,$entry->foreign_currency_decimal_places);
|
$array['foreign_amount'] = Steam::bcround($entry->foreign_amount, $entry->foreign_currency_decimal_places);
|
||||||
}
|
}
|
||||||
|
|
||||||
$result[] = $array;
|
$result[] = $array;
|
||||||
|
12
composer.lock
generated
12
composer.lock
generated
@@ -2619,16 +2619,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/commonmark",
|
"name": "league/commonmark",
|
||||||
"version": "2.7.0",
|
"version": "2.7.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/thephpleague/commonmark.git",
|
"url": "https://github.com/thephpleague/commonmark.git",
|
||||||
"reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405"
|
"reference": "10732241927d3971d28e7ea7b5712721fa2296ca"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405",
|
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/10732241927d3971d28e7ea7b5712721fa2296ca",
|
||||||
"reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405",
|
"reference": "10732241927d3971d28e7ea7b5712721fa2296ca",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -2657,7 +2657,7 @@
|
|||||||
"symfony/process": "^5.4 | ^6.0 | ^7.0",
|
"symfony/process": "^5.4 | ^6.0 | ^7.0",
|
||||||
"symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0",
|
"symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0",
|
||||||
"unleashedtech/php-coding-standard": "^3.1.1",
|
"unleashedtech/php-coding-standard": "^3.1.1",
|
||||||
"vimeo/psalm": "^4.24.0 || ^5.0.0"
|
"vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"symfony/yaml": "v2.3+ required if using the Front Matter extension"
|
"symfony/yaml": "v2.3+ required if using the Front Matter extension"
|
||||||
@@ -2722,7 +2722,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-05-05T12:20:28+00:00"
|
"time": "2025-07-20T12:47:49+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/config",
|
"name": "league/config",
|
||||||
|
@@ -79,7 +79,7 @@ return [
|
|||||||
// see cer.php for exchange rates feature flag.
|
// see cer.php for exchange rates feature flag.
|
||||||
],
|
],
|
||||||
'version' => 'develop/2025-07-20',
|
'version' => 'develop/2025-07-20',
|
||||||
'build_time' => 1753007724,
|
'build_time' => 1753029815,
|
||||||
'api_version' => '2.1.0', // field is no longer used.
|
'api_version' => '2.1.0', // field is no longer used.
|
||||||
'db_version' => 26,
|
'db_version' => 26,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user