initial upload
This commit is contained in:
83
aem_gestion/templates/compta/prt_caisse.pt
Normal file
83
aem_gestion/templates/compta/prt_caisse.pt
Normal file
@@ -0,0 +1,83 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
|
||||
<!-- PRINT_CAISSE -->
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-3">Caisse effectuée par :</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label tal:condition="agence==6" class="control-label col-xs-3">Fond de caisse :</label>
|
||||
<label tal:condition="agence!=6" class="control-label col-xs-3">Dépôt en banque le et par :</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-3">Enveloppe ESP Banque :</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-3">Enveloppe ESP Compta :</label>
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<button type="button" class="btn btn-primary" onclick="window.print()">Imprimer</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<table id="jnl_caisse-table" class="table table-condensed table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Code</th>
|
||||
<th>Nom prénom</th>
|
||||
<th>Cat.</th>
|
||||
<th>Intitulé</th>
|
||||
<th class="text-right">Montant</th>
|
||||
<th class="text-center">Mode</th>
|
||||
<th>Util.</th>
|
||||
<th>Créé, Modif</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
var dataSet = ${dt_data};
|
||||
|
||||
$(document).ready(function() {
|
||||
$.fn.dataTable.moment('DD-MM-YYYY HH:mm');
|
||||
$('#jnl_caisse-table').DataTable({
|
||||
data: dataSet,
|
||||
paging: false,
|
||||
bLengthChange: false,
|
||||
searching: false,
|
||||
ordering: false,
|
||||
language: {
|
||||
url: 'https://cdn.datatables.net/plug-ins/1.10.16/i18n/French.json'
|
||||
},
|
||||
order: [[5, 'asc']],
|
||||
columnDefs: [
|
||||
{
|
||||
targets: 4,
|
||||
className: 'text-right',
|
||||
},
|
||||
{
|
||||
targets: 5,
|
||||
className: 'text-center',
|
||||
}
|
||||
],
|
||||
fnRowCallback: function(nRow, aData, iDisplayIndex) {
|
||||
if (aData[0] == "") {
|
||||
$('td', nRow).each(function(){
|
||||
$(this).css('font-weight','bold');
|
||||
});
|
||||
}
|
||||
return nRow;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</div><!-- content -->
|
||||
</metal:block>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user