<?php use NetSTI\Crm\Models\Settings; ?>
<script type="text/javascript" src="<?= URL::asset('plugins/netsti/crm/assets/livequery.min.js') ?>"></script>
<h2 class="pull-right" style="margin-top:0">
	<?= Settings::getCurrencyData()['symbol_native'] ?>
	<span class="total-widget" data-ajax="<?= Backend::url('netsti/crm/estimates/total-update/'.$model->id) ?>" data-discount="<?= $model->discount ?>" data-total="<?= $value ?>"><?= number_format($value, 2, '.', ',') ?></span>
</h2>