rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 1 | {% extends "templates/web.html" %} |
| 2 | |
| 3 | {% block header %} |
| 4 | <h1>{{ doc.name }}</h1> |
| 5 | {% endblock %} |
| 6 | |
| 7 | {% block script %} |
| 8 | <script>{% include "templates/includes/rfq.js" %}</script> |
| 9 | {% endblock %} |
| 10 | |
| 11 | {% block breadcrumbs %} |
| 12 | {% include "templates/includes/breadcrumbs.html" %} |
| 13 | {% endblock %} |
| 14 | |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 15 | {% block header_actions %} |
| 16 | {% if doc.items %} |
| 17 | <button class="btn btn-primary btn-sm" |
| 18 | type="button"> |
| 19 | {{ _("Submit") }}</button> |
| 20 | {% endif %} |
| 21 | {% endblock %} |
| 22 | |
| 23 | {% block page_content %} |
| 24 | <div class="row"> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 25 | <div class="col-6"> |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 26 | <div class="rfq-supplier">{{ doc.supplier }}</div> |
| 27 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 28 | <div class="col-6 text-muted text-right h6"> |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 29 | {{ doc.get_formatted("transaction_date") }} |
| 30 | </div> |
| 31 | </div> |
Rohit Waghchaure | 29c7876 | 2016-05-06 16:16:42 +0530 | [diff] [blame] | 32 | <div class="rfq-content" style="margin-top:15px"> |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 33 | <div id="order-container"> |
| 34 | <div id="rfq-items"> |
| 35 | <div class="row cart-item-header"> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 36 | <div class="col-sm-5 col-12"> |
Rushabh Mehta | 2d4f3bb | 2016-09-22 15:16:16 +0530 | [diff] [blame] | 37 | {{ _("Items") }} |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 38 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 39 | <div class="col-sm-2 col-4 text-right"> |
Rushabh Mehta | 2d4f3bb | 2016-09-22 15:16:16 +0530 | [diff] [blame] | 40 | {{ _("Qty") }} |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 41 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 42 | <div class="col-sm-2 col-4 text-right"> |
Rushabh Mehta | 2d4f3bb | 2016-09-22 15:16:16 +0530 | [diff] [blame] | 43 | {{ _("Rate") }} |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 44 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 45 | <div class="col-sm-3 col-4 text-right"> |
Rushabh Mehta | 2d4f3bb | 2016-09-22 15:16:16 +0530 | [diff] [blame] | 46 | {{ _("Amount") }} |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 47 | </div> |
| 48 | </div> |
| 49 | <hr> |
| 50 | {% if doc.items %} |
| 51 | <div class="rfq-items"> |
| 52 | {% include "templates/includes/rfq/rfq_items.html" %} |
| 53 | </div> |
| 54 | {% endif %} |
| 55 | </div> |
| 56 | {% if doc.items %} |
| 57 | <div class="row grand-total-row"> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 58 | <div class="col-9 text-right">{{ _("Grand Total") }}</div> |
| 59 | <div class="col-3 text-right"> |
Rohit Waghchaure | ae270d6 | 2016-04-04 18:49:26 +0530 | [diff] [blame] | 60 | {{doc.currency_symbol}} <span class="tax-grand-total">0.0</span> |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 61 | </div> |
| 62 | </div> |
| 63 | {% endif %} |
| 64 | <div class="row terms"> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 65 | <div class="col-6"> |
Rushabh Mehta | 7a1b5da | 2016-03-29 16:04:25 +0530 | [diff] [blame] | 66 | <br><br> |
| 67 | <p class="text-muted small">{{ _("Notes: ") }}</p> |
| 68 | <textarea class="form-control terms-feedback" style="height: 100px;"></textarea> |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 69 | </div> |
| 70 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 71 | <div class="row mt-5"> |
| 72 | <div class="col-12"> |
| 73 | <p class="text-muted small">{{ _("Quotations: ") }}</p> |
| 74 | {% if doc.rfq_links %} |
| 75 | <div class="result"> |
Rohit Waghchaure | a26f685 | 2016-10-03 19:05:18 +0530 | [diff] [blame] | 76 | {% for d in doc.rfq_links %} |
| 77 | <div class="web-list-item transaction-list-item quotations" idx="{{d.name}}"> |
| 78 | <div class="row"> |
| 79 | <div class="col-sm-6"> |
Suraj Shetty | b6ebcd7 | 2020-08-27 18:57:18 +0530 | [diff] [blame] | 80 | <span class="indicator gray">{{d.name}}</span> |
Rohit Waghchaure | a26f685 | 2016-10-03 19:05:18 +0530 | [diff] [blame] | 81 | </div> |
| 82 | <div class="col-sm-3"> |
Suraj Shetty | b6ebcd7 | 2020-08-27 18:57:18 +0530 | [diff] [blame] | 83 | <span class="small gray">{{d.status}}</span> |
Rohit Waghchaure | a26f685 | 2016-10-03 19:05:18 +0530 | [diff] [blame] | 84 | </div> |
| 85 | <div class="col-sm-3"> |
Suraj Shetty | b6ebcd7 | 2020-08-27 18:57:18 +0530 | [diff] [blame] | 86 | <span class="small gray">{{d.transaction_date}}</span> |
Rohit Waghchaure | a26f685 | 2016-10-03 19:05:18 +0530 | [diff] [blame] | 87 | </div> |
| 88 | </div> |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 89 | <a class="transaction-item-link" href="/quotations/{{d.name}}">Link</a> |
Rohit Waghchaure | a26f685 | 2016-10-03 19:05:18 +0530 | [diff] [blame] | 90 | </div> |
| 91 | {% endfor %} |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 92 | </div> |
| 93 | {% endif %} |
Rohit Waghchaure | a26f685 | 2016-10-03 19:05:18 +0530 | [diff] [blame] | 94 | </div> |
| 95 | </div> |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 96 | </div> |
| 97 | </div> |
| 98 | |
Rushabh Mehta | a334062 | 2016-06-23 18:25:50 +0530 | [diff] [blame] | 99 | |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 100 | {% endblock %} |