<?php
$view->extend('MarketZodacoBundle::base.html.php');
?>
<?php $view['slots']->set('title', $view['translator']->trans("Result Deposit Cash") . " | " . $view['translator']->trans("Zodaco Market")) ?>
<div class="col-sm-12 col-lg-12 main" id="mainContents">
    <div class="container">
        <div class="row">
            <div class="col-lg-9 no-padding">
                <div class="col-lg-12 no-padding-right">
                    <?php if ($error) { ?>
                        <div class="alert bg-danger" role="alert">
                            <ul>
                                <?php if ($error) { ?>
                                    <li><?php echo $view['translator']->trans("Error! Please try again."); ?></li>
                                <?php } ?>
                            </ul>
                        </div>
                    <?php } ?>
                    <form role="form" method="POST" action="">
                        <div class="panel panel-default">
                            <div class="panel-body">
                                <center>
                                    <h2>
                                        <?php if ($error) { ?>
                                            <li><?php echo $view['translator']->trans("Error! Please try again."); ?></li>
                                        <?php } else { ?>
                                            <?php echo $view['translator']->trans("Thank you !"); ?>
                                        <?php } ?>
                                    </h2>
                                </center>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="col-lg-3">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <h4><?php echo $view['translator']->trans("Current Credit Balance"); ?></h4>
                        <span class="current-balance"><?php echo $view['translator']->trans("$"); ?><?php
                            if ($check) {
                                echo number_format($check->getMoney(), 2);
                            } else {
                                echo number_format(0, 2);
                            }
                            ?></span>
                    </div>    
                </div>
            </div>
        </div><!--/.row-->
    </div>
</div>