diff --git a/westech_r2/__pycache__/__init__.cpython-312.pyc b/westech_r2/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 0b2fbe3..0000000 Binary files a/westech_r2/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/westech_r2/api/__pycache__/__init__.cpython-312.pyc b/westech_r2/api/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 02f0bc7..0000000 Binary files a/westech_r2/api/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/westech_r2/api/__pycache__/ebay_pricing.cpython-312.pyc b/westech_r2/api/__pycache__/ebay_pricing.cpython-312.pyc deleted file mode 100644 index affd8e9..0000000 Binary files a/westech_r2/api/__pycache__/ebay_pricing.cpython-312.pyc and /dev/null differ diff --git a/westech_r2/page/ebay_pricing/__init__.py b/westech_r2/page/ebay-pricing/__init__.py similarity index 100% rename from westech_r2/page/ebay_pricing/__init__.py rename to westech_r2/page/ebay-pricing/__init__.py diff --git a/westech_r2/page/ebay-pricing/ebay-pricing.html b/westech_r2/page/ebay-pricing/ebay-pricing.html new file mode 100644 index 0000000..7b5dc7e --- /dev/null +++ b/westech_r2/page/ebay-pricing/ebay-pricing.html @@ -0,0 +1,13 @@ +{% extends "templates/web.html" %} +{% block style %} + +{% endblock %} +{% block page_content %} +
+{% endblock %} diff --git a/westech_r2/page/ebay-pricing/ebay-pricing.js b/westech_r2/page/ebay-pricing/ebay-pricing.js new file mode 100644 index 0000000..9ec7a25 --- /dev/null +++ b/westech_r2/page/ebay-pricing/ebay-pricing.js @@ -0,0 +1,8 @@ +frappe.pages['ebay-pricing'].on_page_load = function(wrapper) { + var page = frappe.ui.make_app_page({ + parent: wrapper, + title: __('eBay Pricing'), + single_column: true + }); + $('Search and batch price systems from eBay sold listings.
Search for a model or run batch pricing
-| Title | -Price | -Condition | -Sold | -Shipping | -
|---|---|---|---|---|
| ${frappe.utils.escape_html(item.title || '')} | -$${(item.price || 0).toFixed(2)} | -${frappe.utils.escape_html(item.condition || '')} | -${item.sold || ''} | -${item.shipping || ''} | -
| Manufacturer | -Model | -Status | -Age | -Low | -High | -Avg | -Samples | -Source | -Last Priced | -
|---|---|---|---|---|---|---|---|---|---|
| ${frappe.utils.escape_html(row.manufacturer || '')} | -${frappe.utils.escape_html(row.model || '')} | -${row.pricing_status} | -${age} days | -$${row.price_low || ''} | -$${row.price_high || ''} | -$${row.price_average || ''} | -${row.sample_count || ''} | -${row.source || ''} | -${frappe.datetime.str_to_user(row.scraped_at) || ''} | -