Current path: home/webdevt/cryptoimpot.fr/module/Application/view/application/partial/ledgio/warning/
?? Go up: /home/webdevt/cryptoimpot.fr/module/Application/view/application/partial/ledgio
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title font-weight-bold" id="exampleModalScrollableTitle">Vous tentez de vendre plus de <?= $this->tradedCurrency ?> que vous n'en possedez.</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Après analyse il semblerait que vous tentez de vendre plus de <?= $this->tradedCurrency ?> que vous n'en possedez à cette date : <?= $this->tradedDate ?>.</p>
<p>Nous n'avons pas pu déterminer quand ou comment vous avez acquis ce montant de <?= $this->tradedAmount ?> <?= $this->tradedCurrency ?> à cause d'un manque d'information (manque historique de trade, d'acquisition ou de cession de crypto).</p>
<ul>
<li>Date de trade : <span class="text-danger font-weight-bold"><?= $this->tradedDate ?></span></li>
<li>Tentative de vente de <span class="text-danger font-weight-bold"><?= $this->amount($this->tradedAmount, 'crypto') ?> <?= $this->tradedCurrency ?></span></li>
<?php if ($this->walletAmountTradedCurrency['qty'] > 0) : ?>
<li>Ce que vous possedez en <?= $this->tradedCurrency ?> dans votre wallet à cette date est <span class="text-danger font-weight-bold"><?= $this->walletAmountTradedCurrency['qty'] ?> <?= $this->tradedCurrency ?></span></li>
<?php else : ?>
<li>Ce que vous possedez en <?= $this->tradedCurrency ?> dans votre wallet avant la cession à cette date est <span class="text-danger font-weight-bold"><?= $this->walletAmountTradedCurrency['qty'] ?> <?= $this->tradedCurrency ?></span></li>
<li>Votre wallet en <?= $this->tradedCurrency ?> est négatif après la cession. <span class="text-danger font-weight-bold"><?= $this->amount($this->walletAmountTradedCurrency['qty'] - $this->tradedAmount,'crypto') ?> <?= $this->tradedCurrency ?></span></li>
<?php endif ?>
</ul>
<h3>Conclusion d'analyse</h3>
<?php
$numberDecimal1 = strpos(strrev($this->walletAmountTradedCurrency['qty']), ".");
$numberDecimal2 = strpos(strrev($this->tradedAmount), ".");
$numberDecimal = max($numberDecimal1,$numberDecimal2);
?>
<p class="text-danger font-weight-bold">Le <?= $this->tradedDate ?> : Il manque au minimum <?= $this->amount(abs($this->walletAmountTradedCurrency['qty'] - $this->tradedAmount),$numberDecimal, 'crypto') ?> <?= $this->tradedCurrency ?> dans votre wallet·</p>
<h3>Comment résoudre cette erreur</h3>
<p>Vérifiez que vous avez importé l'historique des transactions de tous les exchanges que vous avez utilisés.</p>
<p>N'oubliez pas les mouvements de wallet de type acquisition ou cession liés au don, perte, vol ou rémunération de crypto-monnaies</p>
<p>Si vous souhaitez ajouter un historique de trade manuellement, cliquez <a href="<?= $this->url(\Application\Controller\ImportationController::ROUTE_IMPORTATION_EXCHANGE, array('exchange' => 'exchange-generique')) ?>">ici</a>.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
</div>
</div>