mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
Enhancements to Supplier Portal (#19221)
* fix: Add Purchase Order to portal * fix: Create Customer or Supplier on first login Based on default role set in Portal Settings, a Customer or Supplier will be created when the user logs in for the first time. * fix: Styling for transaction_row * fix: Styling for RFQ page * fix: Add Purchase Invoice route - Make Purchase Invoice from PO * fix: minor - Admissions for Student role - Remove print statement
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
{% for d in doc.items %}
|
||||
<div class="rfq-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-5 col-xs-12" style="margin-bottom: 10px;margin-top: 5px;">
|
||||
<div class="col-sm-5 col-12" style="margin-bottom: 10px;margin-top: 5px;">
|
||||
{{ item_name_and_description(d, doc) }}
|
||||
</div>
|
||||
<!-- <div class="col-sm-2 col-xs-2" style="margin-bottom: 10px;">
|
||||
<!-- <div class="col-sm-2 col-2" style="margin-bottom: 10px;">
|
||||
<textarea type="text" style="margin-top: 5px;" class="input-with-feedback form-control rfq-offer_detail" ></textarea>
|
||||
</div> -->
|
||||
<div class="col-sm-2 col-xs-4 text-right">
|
||||
<div class="col-sm-2 col-4 text-right">
|
||||
<input type="text" class="form-control text-right rfq-qty" style="margin-top: 5px;display: inline-block"
|
||||
value = "{{ d.get_formatted('qty') }}"
|
||||
data-idx="{{ d.idx }}">
|
||||
@@ -17,14 +17,14 @@
|
||||
{{_("UOM") + ":"+ d.uom}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-sm-2 col-xs-4 text-right">
|
||||
<div class="col-sm-2 col-4 text-right">
|
||||
<input type="text" class="form-control text-right rfq-rate"
|
||||
style="margin-top: 5px;display: inline-block" value="0.00"
|
||||
data-idx="{{ d.idx }}">
|
||||
</div>
|
||||
<div class="col-sm-3 col-xs-4 text-right" style="padding-top: 9px;">
|
||||
<div class="col-sm-3 col-4 text-right" style="padding-top: 9px;">
|
||||
{{doc.currency_symbol}} <span class="rfq-amount" data-idx="{{ d.idx }}">0.00</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
{% from "erpnext/templates/includes/macros.html" import product_image_square %}
|
||||
{% from "erpnext/templates/includes/macros.html" import product_image_square, product_image %}
|
||||
|
||||
{% macro item_name_and_description(d, doc) %}
|
||||
<div class="row">
|
||||
<div class="col-xs-4 col-sm-2 order-image-col">
|
||||
<div class="order-image">
|
||||
{{ product_image_square(d.image) }}
|
||||
</div>
|
||||
<div class="col-3">
|
||||
{{ product_image(d.image) }}
|
||||
</div>
|
||||
<div class="col-xs-8 col-sm-10">
|
||||
<div class="col-9">
|
||||
{{ d.item_code }}
|
||||
<p class="text-muted small">{{ d.description }}</p>
|
||||
{% set supplier_part_no = frappe.db.get_value("Item Supplier", {'parent': d.item_code, 'supplier': doc.supplier}, "supplier_part_no") %}
|
||||
|
||||
Reference in New Issue
Block a user