Files
ISP-Billing/ui/compiled/8580083fb6cabf83ff42ec20bcb9cc41302be5ec_0.file.invoice.tpl.php

85 lines
4.3 KiB
PHP
Raw Normal View History

<?php
/* Smarty version 4.3.1, created on 2025-09-17 20:26:08
from '/var/www/html/yatmack/ui/ui/invoice.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_68caef307615c6_22248505',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8580083fb6cabf83ff42ec20bcb9cc41302be5ec' =>
array (
0 => '/var/www/html/yatmack/ui/ui/invoice.tpl',
1 => 1713579462,
2 => 'file',
),
),
'includes' =>
array (
'file:sections/header.tpl' => 1,
'file:sections/footer.tpl' => 1,
),
),false)) {
function content_68caef307615c6_22248505 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:sections/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<div class="container-fluid">
<div class="row">
<div class="col-md-12 col-sm-12 col-md-offset-3">
<div class="card card-hovered card-primary card-stacked mb30">
<div class="card-header"><?php echo $_smarty_tpl->tpl_vars['in']->value['invoice'];?>
</div>
<div class="card-body">
<form class="form-horizontal" method="post" action="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
plan/print" target="_blank">
<pre id="content"></pre>
<textarea class="hidden" id="formcontent" name="content"><?php echo $_smarty_tpl->tpl_vars['invoice']->value;?>
</textarea>
<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['in']->value['id'];?>
">
<div class="">
<a href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
plan/list" class="btn btn-success btn-sm"><i
class="fa fa-reply-all"></i><?php echo Lang::T('Finish');?>
</a>
<a href="https://api.whatsapp.com/send/?text=<?php echo $_smarty_tpl->tpl_vars['whatsapp']->value;?>
" target="_blank"
class="btn btn-primary btn-sm">
<i class="fa fa-share"></i> WhatsApp</a>
<a href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
plan/view/<?php echo $_smarty_tpl->tpl_vars['in']->value['id'];?>
/send" class="btn btn-info btn-sm"><i
class="fa fa-envelope"></i> <?php echo Lang::T("Resend");?>
</a>
<button type="submit" class="btn btn-info btn-sm"><i class="fa fa-print"></i>
Print</button>
<!-- <a href="nux://print?text=<?php echo urlencode($_smarty_tpl->tpl_vars['invoice']->value);?>
"
class="btn btn-success btn-sm hidden-md hidden-lg">
<i class="fa fa-phone"></i>
Print Invoice
</a>
<a href="https://github.com/hotspotbilling/android-printer"
class="btn btn-success btn-sm hidden-xs hidden-sm" target="_blank">
<i class="fa fa-phone"></i>
Print Invoice
</a> -->
</div>
</form>
</div>
</div>
</div>
</div>
<?php echo '<script'; ?>
type="text/javascript">
var s5_taf_parent = window.location;
document.getElementById('content').innerHTML = document.getElementById('formcontent').innerHTML;
<?php echo '</script'; ?>
>
</div>
<?php $_smarty_tpl->_subTemplateRender("file:sections/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}
}