Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Commit c15ef86

Browse files
author
Mario Basic
committed
Fixed form exchange rate.
1 parent 1a68b14 commit c15ef86

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/Service.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,6 @@ public function formCostAttribute($value)
4545
return number_format($this->cost / 100, 2, ',', '');
4646
}
4747

48-
/**
49-
* Converts 112345 to 1.123,45.
50-
* For forms only.
51-
*
52-
* @param integer $value
53-
* @return string
54-
*/
55-
public function formExchangeRateAttribute($value)
56-
{
57-
return number_format($this->exchange_rate , 4, ',', '.');
58-
}
59-
6048
/**
6149
* Returns formatted cost with currency.
6250
* Converts `112345 usd` to `1.123,45 USD`.

0 commit comments

Comments
 (0)