<section class="pcoded-main-container">
<div class="pcoded-content">
    <div class="page-header">
        <div class="page-block">
            <div class="row align-items-center">
                <div class="col-md-12">
                    <div class="page-header-title">
                        <h5 class="m-b-10">Transaction Details<?php echo $this->Html->link('<i class="feather icon-list" ></i> Transaction List',array('controller'=>'Transactions','action'=>'index'), array('class' => 'btn btn-primary pull-right','escape'=>false),array());?>
                        </h5>
                    </div>                   
                </div>
            </div>
        </div>
    </div>
    <div class="row">
         <div class="col-xl-12 col-md-12">
            <div class="card">
                <div class="card-body table-border-style">
                    <div class="table-responsive panel">
                        <div class="row">
                            <div class="col-xl-6 col-md-6">
                                <table class="vertical-table table table-striped">
                                    <tr>
                                        <th scope="row"><?= __('Order Ids') ?></th>
                                        <td><?= h($transaction->order_ids) ?></td>
                                    </tr>
                                    <tr>
                                        <th scope="row"><?= __('Freelancer') ?></th>
                                        <td><?= $transaction->has('freelancer') ? $this->Html->link($transaction->freelancer->name, ['controller' => 'Freelancers', 'action' => 'view', $transaction->freelancer->id]) : '' ?></td>
                                    </tr>
                                    <tr>
                                        <th scope="row"><?= __('Id') ?></th>
                                        <td><?= $this->Number->format($transaction->id) ?></td>
                                    </tr>
                                </table>
                            </div>
                            <div class="col-xl-6 col-xl-6">
                                <table class="vertical-table table table-striped">
                                    <tr>
                                        <th scope="row"><?= __('Pay Amount') ?></th>
                                        <td><?= $this->Number->format($transaction->pay_amount) ?></td>
                                    </tr>
                                    <tr>
                                        <th scope="row"><?= __('Pay Date') ?></th>
                                        <td><?= date('d,M,Y H:i',strtotime($transaction->pay_date)) ?></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</section>s
