/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
templates
/
Admin
/
BankAccounts
/
/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/BankAccounts
mkdir
upload
Name
Size
Mode
Actions
add.php
1547
0644
edit
dl
rm
edit.php
1559
0644
edit
dl
rm
index.php
3297
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/BankAccounts/index.php
(3297B)
<!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-lg-12"> <h1> <?php echo __('Bank Accounts'); ?> <div class="float-right"><?php echo $this->Html->link(__('New'), ['action' => 'add'], ['class' => 'btn btn-success btn-xs']); ?></div> </h1> </div> </div> </div><!-- /.container-fluid --> </section> <!-- Main content --> <section class="content"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <div class="card"> <!-- /.box-header --> <div class="card-body table-responsive table-responsive p-0"> <table class="table table-hover text-nowrap"> <thead> <tr> <th scope="col"><?php echo $this->Paginator->sort('id'); ?></th> <th scope="col"><?php echo $this->Paginator->sort('cause_id'); ?></th> <th scope="col"><?php echo $this->Paginator->sort('account_type_id'); ?></th> <th scope="col"><?php echo $this->Paginator->sort('bank_contact_name'); ?></th> <th scope="col"><?php echo $this->Paginator->sort('bank_name'); ?></th> <th scope="col"><?php echo $this->Paginator->sort('bank_iban'); ?></th> <th scope="col"><?php echo $this->Paginator->sort('is_active'); ?></th> <th scope="col" class="actions text-center"><?php echo __('Actions'); ?></th> </tr> </thead> <tbody> <?php foreach ($bankAccounts as $account) : ?> <tr> <td><?php echo $this->Number->format($account->id); ?></td> <td><?php echo $this->Html->link($account->cause->name, ['prefix' => 'Admin', 'controller' => 'Causes', 'action' => 'view', 'id' => $account->cause_id]); ?></td> <td><?php echo h($bankAccountType[$account->account_type_id]); ?></td> <td><?php echo h($account->bank_contact_name); ?></td> <td><?php echo h($account->bank_name); ?></td> <td><?php echo h($account->bank_iban); ?></td> <td><?php echo ($account->is_active) ? '<i class="fa fa-check-circle text-success" title="Active"></i>' : '<i class="fa fa-times-circle text-danger" title="Inactive"></i>'; ?></td> <td class="actions text-center"> <?php echo $this->Html->link(__('Edit'), ['action' => 'edit', $account->id], ['class' => 'btn btn-warning btn-xs']); ?> <?php echo $this->Form->postLink(__('Change Status'), ['action' => 'changeStatus', $account->id], ['confirm' => __('Are you sure you want to change status # {0}?', $account->bank_contact_name), 'class' => 'btn btn-danger btn-xs']); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> </div> <div class="row"> <div class="col-sm-12"> <?php echo $this->element('paginator'); ?> </div> </div> </div> </section>
Save
cmd:
run