[UPDT] ASSET: Asset request and asset approve form updation
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
{{asset_allocation_form.assigned_by_employee_id.errors}}
|
||||
</div>
|
||||
<div class="oh-input__group ">
|
||||
<label class="oh-input__label" for="{{asset_allocation_form.assign_images.id_for_label}}">{% trans "Assign condition images" %}</label>
|
||||
<label class="oh-input__label" for="{{asset_allocation_form.assign_images.id_for_label}}">{% trans "Assign Condition Images" %}</label>
|
||||
{{asset_allocation_form.assign_images}}
|
||||
{{asset_allocation_form.assign_images.errors}}
|
||||
</div>
|
||||
|
||||
@@ -3,21 +3,16 @@
|
||||
<form hx-post="{%url 'asset-request-approve' req_id=id %}">
|
||||
{% csrf_token %}
|
||||
<div class=" m-3">
|
||||
<!-- <div class="oh-input__group ">
|
||||
<label class="oh-input__label" for="objective">{% trans "Requesting User" %}</label>
|
||||
{{asset_allocation_form.assigned_to_employee_id}}
|
||||
{{asset_allocation_form.assigned_to_employee_id.errors}}
|
||||
</div> -->
|
||||
<div class="oh-input__group ">
|
||||
<label class="oh-input__label" for="objective">{% trans "Asset" %}</label>
|
||||
{{asset_allocation_form.asset_id}}
|
||||
{{asset_allocation_form.asset_id.errors}}
|
||||
</div>
|
||||
<!-- <div class="oh-input__group ">
|
||||
<label class="oh-input__label" for="objective">{% trans "Assigned By" %}</label>
|
||||
{{asset_allocation_form.assigned_by_employee_id}}
|
||||
{{asset_allocation_form.assigned_by_employee_id.errors}}
|
||||
</div> -->
|
||||
<div class="oh-input__group ">
|
||||
<label class="oh-input__label" for="objective">{% trans "Assign Condition Images" %}</label>
|
||||
{{asset_allocation_form.assign_images}}
|
||||
{{asset_allocation_form.assign_images.errors}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="oh-modal__dialog-footer">
|
||||
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
{% endif %}
|
||||
<form hx-post="{%url 'asset-request-creation' %}" hx-target="#asset-request-allocation-modal-target">
|
||||
{% csrf_token %}
|
||||
<div class="oh-general__tab-target oh-profile-section">
|
||||
<div class="oh-input__group ">
|
||||
<div class="oh-general__tab-target oh-profile-section">
|
||||
<div class="oh-input__group {% if not perms.asset.add_assetrequest %}d-none {% endif %}">
|
||||
<label class="oh-input__label" for="{{asset_request_form.requested_employee_id.id_for_label}}">{% trans "Requesting User" %}</label>
|
||||
{{asset_request_form.requested_employee_id}}
|
||||
{{asset_request_form.requested_employee_id.errors}}
|
||||
|
||||
Reference in New Issue
Block a user