frappe.pages['ebay-pricing'].on_page_load = function(wrapper) { var page = frappe.ui.make_app_page({ parent: wrapper, title: __('eBay Pricing'), single_column: true }); let $container = $(`
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) || ''} |