initial upload
This commit is contained in:
51
aem_gestion/templates/compta/jnl_caisse.pt
Normal file
51
aem_gestion/templates/compta/jnl_caisse.pt
Normal file
@@ -0,0 +1,51 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
|
||||
<div class="alert alert-danger" tal:condition="message" tal:content="message" />
|
||||
|
||||
<!-- JNL_CAISSE -->
|
||||
<form id="jnl_caisse-form" action="${url}" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-4" for="date_edition">Date d'édition</label>
|
||||
<div class="col-xs-8">
|
||||
<div class="input-group date" id="date_edition">
|
||||
<input class="form-control" type="text" name="date_edition" value="${layout.date2dmy(date_edition)}"
|
||||
data-fv-date="true"
|
||||
data-fv-date-format="DD-MM-YYYY"
|
||||
data-fv-date-message="La date n'est pas valide" />
|
||||
<span class="input-group-addon add-on">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-xs-8 col-xs-offset-4">
|
||||
<button id="extractButton" class="btn btn-primary" type="submit" name="form.submitted">
|
||||
<span class="glyphicon glyphicon-export"></span> Imprimer</button>
|
||||
<a href="/" class="btn btn-default" role="button">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span> Annuler</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#jnl_caisse-form').formValidation();
|
||||
$('#date_edition').datetimepicker({
|
||||
format: 'DD-MM-YYYY',
|
||||
allowInputToggle: true,
|
||||
}).on('dp.change', function(e) {
|
||||
// Revalidate the date field
|
||||
$('#jnl_caisse-form').formValidation('revalidateField', 'date_fin');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</div><!-- content -->
|
||||
</metal:block>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user