76 lines
3.8 KiB
HTML
76 lines
3.8 KiB
HTML
{% extends 'slips/base.html' %}
|
|
{% load static %}
|
|
|
|
{% block title %}Orders — Label Printer{% endblock %}
|
|
{% block nav_crm_active %}active{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="page-grid print-queue-layout">
|
|
<section class="card glass-card">
|
|
<div class="card-header card-header-wrap">
|
|
<div>
|
|
<h2 class="card-title" data-i18n="crm_orders_title">حوالهها</h2>
|
|
<p class="card-subtitle" id="crm-since" hidden>
|
|
<span data-i18n="orders_after">حوالههای بعد از</span>
|
|
<span id="crm-since-date" class="mono" dir="ltr"></span>
|
|
</p>
|
|
</div>
|
|
<div class="card-actions">
|
|
<span id="crm-account" class="card-subtitle" hidden></span>
|
|
<button type="button" class="btn btn-ghost btn-sm" id="crm-forget" data-i18n="sg_sign_out" hidden>خروج</button>
|
|
<button type="button" class="btn btn-ghost btn-sm" id="crm-refresh" data-i18n="refresh" hidden>بهروزرسانی</button>
|
|
<span class="card-badge badge-muted" id="crm-count" hidden>0</span>
|
|
</div>
|
|
</div>
|
|
<form id="crm-login" class="form-stack" hidden>
|
|
<div class="form-group">
|
|
<label for="crm-username" data-i18n="sg_username">نام کاربری</label>
|
|
<input id="crm-username" name="username" autocomplete="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="crm-password" data-i18n="sg_password">رمز عبور</label>
|
|
<input id="crm-password" name="password" type="password" autocomplete="current-password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-accent" id="crm-sign-in" data-i18n="sg_sign_in">ورود</button>
|
|
</form>
|
|
<div id="crm-filters" hidden>
|
|
<div class="form-group">
|
|
<label for="crm-company" data-i18n="company_name">نام شرکت</label>
|
|
<div class="suggest">
|
|
<input id="crm-company" type="search" autocomplete="off" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-controls="crm-company-list">
|
|
<ul id="crm-company-list" class="suggest-list" role="listbox" hidden></ul>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="crm-code" data-i18n="product_code">کد محصول</label>
|
|
<div class="suggest">
|
|
<input id="crm-code" type="search" dir="ltr" autocomplete="off" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-controls="crm-code-list">
|
|
<ul id="crm-code-list" class="suggest-list" role="listbox" dir="ltr" hidden></ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p class="empty-state" id="crm-orders-status" hidden></p>
|
|
<div class="table-wrap">
|
|
<table class="data-table" id="crm-orders-table">
|
|
<thead>
|
|
<tr>
|
|
<th data-i18n="date">تاریخ</th>
|
|
<th data-i18n="product_code">کد محصول</th>
|
|
<th data-i18n="product_title">عنوان</th>
|
|
<th data-i18n="note_qty">مقدار حواله</th>
|
|
<th data-i18n="delivered_qty">تحویلشده</th>
|
|
<th data-i18n="remaining_qty">مانده</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="crm-orders-body"></tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<div id="toast" class="toast"></div>
|
|
{% endblock %}
|
|
|
|
{% block extra_scripts %}
|
|
<script src="{% static 'slips/js/crm_orders.js' %}?v=10"></script>
|
|
{% endblock %}
|