-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Agrega filtro para facturas lista en panel de control
- Loading branch information
Showing
3 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<form class="form-inline"> | ||
<div class="form-group mr-1 mb-2"> | ||
<input autocomplete="off" value="{{ request.GET.hasta }}" | ||
type="text" class="form-control form-control-sm" name="hasta" id="id_hasta" | ||
placeholder="Hasta" | ||
/> | ||
<div class="input-group-append"> | ||
<button class="btn btn-primary btn-sm" type="submit"> | ||
<i class="fas fa-filter"></i> | ||
</button> | ||
</div> | ||
|
||
<div class="input-group-append"> | ||
<button class="clean btn btn-primary btn-sm" type="submit"> | ||
<i class="fas fa-times-circle"></i> | ||
</button> | ||
</div> | ||
|
||
</div> | ||
</form> | ||
{% block extra_js %} | ||
<script> | ||
|
||
$('#id_hasta').datepicker({format: 'dd/mm/yyyy', language: 'es', todayHighlight: true}); | ||
|
||
$('.clean').click(function(e){ | ||
$('#id_hasta').val(''); | ||
}); | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters