| Current Path : /home/helpink/www/components/com_jbusinessdirectory/views/payment/tmpl/ |
| Current File : /home/helpink/www/components/com_jbusinessdirectory/views/payment/tmpl/default_response.php |
<?php // no direct access
/**
* @copyright Copyright (C) 2008-2009 CMSJunkie. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
defined('_JEXEC') or die('Restricted access');
?>
<style>
@media print {
body * {
visibility: hidden;
}
#content-section, #content-section *:not(.action-btn-group):not(.action-btn-group *) {
visibility: visible;
}
#content-section {
position: absolute;
left: 10%;
top: 0;
}
}
</style>
<div class="jbd-container">
<div class="successful-payment-container" id="content-section">
<div class="col-sm-6 text-right ml-auto">
<div class="printbutton">
<a onclick="window.print()" href="javascript:void(0);"><i class="icon print-circle icon-25px"></i> <?php echo JText::_("LNG_PRINT")?></a>
</div>
</div>
<div class="successful-payment-wrapper">
<i class="successful-payment-icon la la-check-circle"></i>
<h2><?php echo JText::_('LNG_THANK_YOU') ?>!</h2>
<h4><?php echo JText::_('LNG_ORDERED_COMPLETED_SUCCESSFULLY'); ?></h4>
<?php $invoiceLink = '<a href="'.JRoute::_('index.php?option=com_jbusinessdirectory&view=billingoverview').'">'.JText::_("LNG_HERE").'</a>'; ?>
<div class="invoice-info"><?php echo JText::sprintf("LNG_INVOICE_TEXT",$invoiceLink) ?> </div>
</div>
<?php if($this->appSettings->enable_listing_editors && $this->order->package->package_type != PACKAGE_TYPE_USER){ ?>
<div class="row justify-content-center my-5">
<div class="col-md-9">
<div class="invite-editor-container">
<div class="section-title"><?php echo JText::_('LNG_ADD_LISTING_EDITORS'); ?></div>
<div class="successful-payment-text"><?php echo JText::_('LNG_ADD_LISTING_EDITORS_DESCRIPTION'); ?></div>
<form name="invite-editor">
<div class="form-group">
<input id="editor-email" class="form-control" type="text" value=""/>
<button id="invitation-btn" type="button" class="btn btn-success" onclick="jbdListings.sendEditorInvitation()">
<i class="la la-edit"></i> <?php echo JText::_("LNG_INVITE")?>
</button>
<input id="company_id" type="hidden" name="company_id" value="<?php echo $this->order->company_id?>"/>
</div>
</form>
</div>
</div>
</div>
<?php } ?>
<div class="row justify-content-center my-5">
<div class="col-md-9">
<div class="section-title"><?php echo JText::_('LNG_PAYMENT_DETAILS'); ?></div>
<div class="successful-payment-text"><?php echo JText::_('LNG_ORDERED_COMPLETED_SUCCESSFULLY_TXT'); ?></div>
</div>
</div>
<div class="row justify-content-center my-4">
<div class="col-md-5">
<div class="jitem-card card-plain card-round horizontal ">
<?php echo OrderService::getOrderSummary($this->order); ?>
</div>
</div>
<div class="col-md-4">
<div class="jitem-card card-plain card-round horizontal ">
<?php echo OrderService::getOrderBillingDetailsSummary($this->order); ?>
</div>
</div>
</div>
<div class="successful-payment-wrapper action-btn-group mt-5">
<a href="<?php echo JBusinessUtil::getWebsiteURL(true) ?>"><?php echo JText::_('LNG_BACK_TO_HOME') ?></a>
<?php
$returnView = 'managecompanies';
if($this->order->company_id == -1) {
$returnView = 'manageuserpackageorders';
}
?>
<a href="<?php echo JRoute::_('index.php?option=com_jbusinessdirectory&view='.$returnView) ?>" class="btn btn-success ml-2">
<span class="ui-button-text"><?php echo JText::_('LNG_RETURN_TO_DASHBOARD') ?></span>
</a>
</div>
</div>
</div>