-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dashboard template and currency format in Helper class #44
base: main
Are you sure you want to change the base?
Conversation
@@ -9,7 +9,7 @@ class Helper | |||
{ | |||
public static function convertToRupiah($price) | |||
{ | |||
return 'Rp. '.number_format($price, 2, ',', '.'); | |||
return '$. '.number_format($price, 2, ',', '.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since it's convertToRupiah, it should've been prefixed with Rp. (Rupiah), we can add one more static method for creating dollar convertor if you want, and im open for it.
If we want to support more than 1 convertor, we can find package that has already create it.
@@ -29,16 +29,16 @@ public function definition() | |||
'D', | |||
]; | |||
$price = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep this change on cloned repo only i think? since overall of this app built with rupiah
@@ -0,0 +1 @@ | |||
http://[::1]:5173 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can ignore this file on .gitignore i guess, feel free to add that there.
Anyway thankyou for the PR! feel free to discus |
No description provided.