Format mata uang dalam Laravel
Blade::directive('currency', function ($expression) {
return "<?php echo number_format($expression,0,',','.'); ?>";
});
Muhammad Ariq Rafi
Blade::directive('currency', function ($expression) {
return "<?php echo number_format($expression,0,',','.'); ?>";
});