brotherton-erpnext/erpnext/templates/pages/rfq.html

101 lines
2.6 KiB
HTML
Raw Normal View History

2016-03-03 08:30:35 +00:00
{% extends "templates/web.html" %}
{% block header %}
<h1>{{ doc.name }}</h1>
{% endblock %}
{% block script %}
<script>{% include "templates/includes/rfq.js" %}</script>
{% endblock %}
{% block breadcrumbs %}
{% include "templates/includes/breadcrumbs.html" %}
{% endblock %}
{% block header_actions %}
{% if doc.items %}
<button class="btn btn-primary btn-sm"
type="button">
{{ _("Submit") }}</button>
{% endif %}
{% endblock %}
{% block page_content %}
<div class="row">
<div class="col-xs-6">
<div class="rfq-supplier">{{ doc.supplier }}</div>
</div>
<div class="col-xs-6 text-muted text-right h6">
{{ doc.get_formatted("transaction_date") }}
</div>
</div>
2016-05-06 10:46:42 +00:00
<div class="rfq-content" style="margin-top:15px">
2016-03-03 08:30:35 +00:00
<div id="order-container">
<div id="rfq-items">
<div class="row cart-item-header">
2016-09-01 12:31:27 +00:00
<div class="col-sm-5 col-xs-12">
2016-09-22 09:46:16 +00:00
{{ _("Items") }}
2016-03-03 08:30:35 +00:00
</div>
2016-09-01 12:31:27 +00:00
<div class="col-sm-2 col-xs-4 text-right">
2016-09-22 09:46:16 +00:00
{{ _("Qty") }}
2016-03-03 08:30:35 +00:00
</div>
2016-09-01 12:31:27 +00:00
<div class="col-sm-2 col-xs-4 text-right">
2016-09-22 09:46:16 +00:00
{{ _("Rate") }}
2016-03-03 08:30:35 +00:00
</div>
2016-09-01 12:31:27 +00:00
<div class="col-sm-3 col-xs-4 text-right">
2016-09-22 09:46:16 +00:00
{{ _("Amount") }}
2016-03-03 08:30:35 +00:00
</div>
</div>
<hr>
{% if doc.items %}
<div class="rfq-items">
{% include "templates/includes/rfq/rfq_items.html" %}
</div>
{% endif %}
</div>
{% if doc.items %}
<div class="row grand-total-row">
2016-09-01 12:31:27 +00:00
<div class="col-xs-9 text-right">{{ _("Grand Total") }}</div>
<div class="col-xs-3 text-right">
{{doc.currency_symbol}} <span class="tax-grand-total">0.0</span>
2016-03-03 08:30:35 +00:00
</div>
</div>
{% endif %}
<div class="row terms">
<div class="col-xs-6">
<br><br>
<p class="text-muted small">{{ _("Notes: ") }}</p>
<textarea class="form-control terms-feedback" style="height: 100px;"></textarea>
2016-03-03 08:30:35 +00:00
</div>
</div>
<hr>
<div class="row">
<div class="result">
<div class="col-xs-12">
<p class="text-muted small">{{ _("Quotations: ") }}</p>
{% if doc.rfq_links %}
{% for d in doc.rfq_links %}
<div class="web-list-item transaction-list-item quotations" idx="{{d.name}}">
<div class="row">
<div class="col-sm-6">
<span class="indicator darkgrey"><a href="/quotations/{{d.name}}">{{d.name}}</a></span>
</div>
<div class="col-sm-3">
<span class="small darkgrey">{{d.status}}</span>
</div>
<div class="col-sm-3">
<span class="small darkgrey">{{d.transaction_date}}</span>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
</div>
2016-03-03 08:30:35 +00:00
</div>
</div>
2016-06-23 12:55:50 +00:00
2016-03-03 08:30:35 +00:00
{% endblock %}