-
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.
feat: add timesheet approval and ticket resolve
- Loading branch information
1 parent
7afb8ad
commit b501923
Showing
12 changed files
with
236 additions
and
11 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
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
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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
{% extends "base.html" %} | ||
{% load crispy_forms_tags %} | ||
{% block title %} | ||
Resolve Ticket | ||
{% endblock title %} | ||
{% block content %} | ||
<a href="{% url 'ops:tickets' %}">← Back</a> | ||
{% if errors %} | ||
<div class="alert alert-error"> | ||
<ul> | ||
{% for error in errors %} | ||
<li>{{error}}</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} | ||
<div class="row"> | ||
<div class="col-xl-10 col-lg-12 col-md-9 col-sm-10"> | ||
<div class="card o-hidden border-0 shadow my-1"> | ||
<div class="card-body p-0"> | ||
<div class="row"> | ||
<div class="col-lg-2 d-none d-lg-block"> | ||
</div> | ||
<div class="col-lg-6"> | ||
<div class="p-5"> | ||
<div class="text-left"> | ||
<h1 class="h4 text-gray-900 mb-4">Confirm Resolve</h1> | ||
</div> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<p>Are you sure you want to resolve this ticket?</p> | ||
<input class="btn btn-outline-primary btn-lg" type="submit" value="Resolve"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock content %} |
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,42 @@ | ||
|
||
{% extends "base.html" %} | ||
{% load crispy_forms_tags %} | ||
{% block title %} | ||
Approve Time Sheet | ||
{% endblock title %} | ||
{% block content %} | ||
<a href="{% url 'ops:timesheets' %}">← Back</a> | ||
{% if errors %} | ||
<div class="alert alert-error"> | ||
<ul> | ||
{% for error in errors %} | ||
<li>{{error}}</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} | ||
<div class="row"> | ||
<div class="col-xl-10 col-lg-12 col-md-9 col-sm-10"> | ||
<div class="card o-hidden border-0 shadow my-1"> | ||
<div class="card-body p-0"> | ||
<div class="row"> | ||
<div class="col-lg-2 d-none d-lg-block"> | ||
</div> | ||
<div class="col-lg-6"> | ||
<div class="p-5"> | ||
<div class="text-left"> | ||
<h1 class="h4 text-gray-900 mb-4">Confirm Approval</h1> | ||
</div> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<p>Are you sure you want to approve this timesheet?</p> | ||
<input class="btn btn-outline-primary btn-lg" type="submit" value="Approve"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock content %} |
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