mercredi 11 septembre 2019

How to fetch the Designation tittle? Its reflecting the ID instead

I have added the designation title and the description, But somehow it is picking up the ID and not the title. What am i missing here?

My application is running on laravel 5.4, PHP 7.3 and apache 2. I am new to laravel.

<div class="row" ng-show="views.list">
<div class="col-12">
    <div class="card">
        <div class="card-block">
            <button ng-show="$root.can('employees.addEmployee')" ng-click="changeView('add')" class="btn pull-right btn-success card-block-input-item"></button>
            <div class="pull-right card-block-input-group card-block-input-item">
                <div class="input-group input-group-sm">
                    <input type="text" name="table_search" ng-model="searchText" placeholder="" class="form-control">
                    <span class="input-group-addon"><i class="fa fa-search"></i></span>
                </div>
            </div>
            <h4 class="card-title"></h4>
            <div class="table-responsive">

                <table class="table table-bordered table-hover">
                    <tbody>
                        <tr>
                            <th></th>
                            <th><!--  --> Username / CPR</th>
                            <th></th>
                            <th></th>
                            <th ng-show="$root.can('employees.editEmployee') || $root.can('employees.delEmployee')"></th>
                        </tr>
                        <tr ng-repeat="employee in employees | filter:searchText">
                            <td>
                                <img alt="" class="user-image img-circle" style="width:35px; height:35px;" ng-src="index.php/dashboard/profileImage/">
                                
                                <i ng-class="{'color_red':employee.account_active==0,'color_green':employee.account_active==1}" class="fa fa-lightbulb-o"></i>
                            </td>
                            <td>
                                
                            </td>
                            <td></td>
                            <td></td>
                            <td>
                                <button ng-show="$root.can('employees.editEmployee')" ng-click="account_status(employee.id,$index)" type="button" class="btn btn-warning btn-circle" title="Toggle Account Status" tooltip><i class="fa fa-lightbulb-o"></i></button>
                                <button ng-show="$root.can('employees.editEmployee')" ng-click="edit(employee.id)" type="button" class="btn btn-info btn-circle" title="" tooltip><i class="fa fa-pencil"></i></button>
                                <button ng-show="$root.can('employees.delEmployee')" ng-click="remove(employee,$index)" type="button" class="btn btn-danger btn-circle" title="" tooltip><i class="fa fa-trash-o"></i></button>
                            </td>
                        </tr>
                        <tr ng-show="!employees.length"><td class="noTableData" colspan="5"></td></tr>
                    </tbody>
                </table>

            </div>
        </div>
    </div>
</div>



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/303TmvG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire