Current path: home/webdevt/cryptoimpot.fr/module/Application/view/application/partial/exchange/
?? Go up: /home/webdevt/cryptoimpot.fr/module/Application/view/application/partial
<tr class="align-middle">
<td class="align-middle text-center" scope="row"><?php echo $item->getId(); ?></td>
<td class="align-middle text-center"><img data-type="" data-id="<?= $item->getId() ?>" width="180" src="/dist/img/exchange/<?= strtolower($item->getName()) ?>.png" alt="<?= $item->getName() ?>" class="exchange-selectable shadow m-2 bg-white rounded d-inline p-1 border border-3"></td>
<td class="align-middle text-center"><?php echo $this->escapeHtml($item->getName()) ?></td>
<td class="align-middle text-right pr-1"><?php echo $this->escapeHtml($item->getEnable()) ?> </td>
<td class="align-middle text-right pr-1"><?php echo $this->escapeHtml($item->getSelectable()) ?> </td>
<td class="align-middle text-right pr-1"><?php echo $this->escapeHtml($item->getViewDisabled()) ?> </td>
<td class="align-middle text-right pr-1"><?php echo $this->escapeHtml($item->getApiEnabled()) ?> </td>
<td class="align-middle text-right pr-1"><?php echo $this->escapeHtml($item->getCsvEnabled()) ?> </td>
<td class="align-middle text-center text-danger">
<?php if (!empty($item->warningMessage)) : ?>
<button type="button" class="btn border border-danger text-danger btn-light" data-toggle="modal" data-target="#info<?= $item->getId() ?>">
<i class="fas fa-exclamation-triangle"></i> Voir les Warning
</button>
<?php endif; ?>
</td>
</tr>
<?php //if ($item->warningMessage === 'MONTANT_TRADE_SUP_WALLET') : ?>
<?php
// $instantWallet = $item->instantWallet;
// $instantWallet = json_decode($instantWallet, true);
//var_dump($instantWallet);
?>
<!-- Modal -->
<!-- <div class="modal fade" id="info<?= $item->getId() ?>" tabindex="-1" role="dialog" aria-labelledby="info<?= $item->getId() ?>" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable" role="document">
<?php
// echo $this->partial('application/partial/ledgio/warning/montant_trade_sup_wallet.phtml', array(
// 'tradedCurrency' => $item->tradedCurrency,
// 'tradedDevise' => $item->tradedDevise,
// 'tradedDate' => $item->datetimeTransaction->format('d-m-Y H:i:s'),
// 'tradedAmount' => number_format($item->getTradedAmount(), 8),
// 'walletAmountTradedCurrency' => !empty($instantWallet[$item->tradedDevise->getId()]) ? $instantWallet[$item->tradedDevise->getId()] : 0
// ))
?>
<?php //endif; ?>
</div>-->
</div>
<!-- ./ Modal -->