lundi 11 avril 2022

How to add number_format decimal in laravel in html view?

does anyone know how to add the decimal number_format here?, I don't use the blade from Laravel but I route the view directly to html... so if I add the number_format attribute, I'm confused ;(

<tr dir-paginate="income in incomes | filter:searchText | itemsPerPage:20" total-items="totalItems">
                            <td></td>
                            <td></td>
                            <td>Rp.</td>
                            <td></td>
                            <td></td>
                            <td>
                                <a ng-show="income.incomeImage != ''" target="_blank" href="index.php/incomes/download/"><button type="button" class="btn btn-success btn-circle" title="" tooltip><i class="fa fa-cloud-download"></i></button></a>
                                <button ng-show="$root.can('Incomes.editIncome')" ng-click="edit(income.id)" type="button" class="btn btn-info btn-circle" title="" tooltip><i class="fa fa-pencil"></i></button>
                                <button ng-show="$root.can('Incomes.delIncome')" ng-click="remove(income,$index)" type="button" class="btn btn-danger btn-circle" title="" tooltip><i class="fa fa-trash-o"></i></button>
                            </td>
                        </tr>


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire