<table id="data" class="table table-bordered table-striped">
                <thead>
                    <tr>
                        <th class="hidden"></th>
                        <th>Start</th>
                        <th>End</th>
                        <th>Amount</th>
                        <th>Description</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    @foreach($custom_data as $item)
                        <?php 
$time_start = \App\Common::formatDateTimeFromSQL($item->time_start);
$time_end = \App\Common::formatDateTimeFromSQL($item->time_end);
?>
                        <tr>
                            <td class="hidden">{{$item->id}}</td>
                            <td>{{$time_start}}</td>
                            <td>{{$time_end}}</td>
                            <td>{{$item->amount}} {{$currency}}</td>
                            <td>{{$item->description}}</td>
                            <td>
                                <button type="button" data-href="{{asset('companies/'.$item->company_id.'/payment/custom/'.$item->id)}}"
                                        data-name="{{$time_start}} - {{$time_end}} | {{$item->amount}}" class="btn btn-danger btn-xs" data-toggle="modal"
                                        data-target="#delete"><i class="fa fa-trash"></i></button>
                            </td>
                        </tr>
                    @endforeach
                </tbody>