btcpayserver/BTCPayServer/wwwroot
Andrew Camilleri 09462e6877
Enhance Store email capability (#3911)
* Enhance Store email capability

Currenty the new email rules can send an email when an invoice event occurs. However, there is currently no way to customize the email based on the invoice, making the feature a bit useless.

This PR:
* adds the rich text editor to the body input
* allows you to use some of the properties from the Invoice (based on greenfield api properties. I've taken a imple approach for now using just  a string.replace mechanism, but we can update this to a dynamic linq approach so that users can customize further (e.g. `{Invoice.Metadata["something"].ToString().ToUpper()}`)

NOT READY:
Since this all takes place as a background service, there is an issue around how to handle items such as the "checkout link", as we are not aware of the btcpay url at that moment. Thoughts? @nicolasdorier

* fix typo and make it simpler for now

* remove dditor
2022-07-06 22:17:33 +09:00
..
bundles Preserving bundles directory required for build 2018-02-27 17:03:49 +09:00
cart use more concrete types for price type in app items 2021-10-15 12:53:45 +02:00
checkout Fix issue in invoice - changing the payment method (#3169) 2021-12-12 15:04:43 +09:00
crowdfund remove lnurl from crowdfund as per requests 2022-06-30 14:25:52 +02:00
fonts Self-host webfonts 2020-08-06 22:18:26 +02:00
img Add IVPN logo for supporters section 2022-04-21 15:34:09 +02:00
imlegacy htmlcoin altcoin updates (#3601) 2022-04-14 13:18:12 +09:00
js Streamline JS/CSS bundles (#3520) 2022-03-11 08:41:48 +01:00
light-pos Add loading indicator for "Pay" button in POS terminal app (#3342) 2022-01-27 10:58:25 +09:00
locales Public Invoice receipt (#3612) 2022-07-06 21:14:55 +09:00
main Enhance Store email capability (#3911) 2022-07-06 22:17:33 +09:00
modal Remove mailto: handling in bitpayjs 2022-05-14 10:57:08 +09:00
paybutton Make Pay Button a plugin (#3862) 2022-06-15 11:32:46 +09:00
payment-request Fix change state broken in the UI and update invoice's status in payment request to new convention (Fix #3265) (#3286) 2022-01-11 21:49:56 +09:00
shopify Rewording: Integrations become (store) plugins 2022-05-12 13:32:40 +02:00
swagger/v1 Public Invoice receipt (#3612) 2022-07-06 21:14:55 +09:00
tests Add JS Modal test (#1342) 2020-02-19 17:39:14 +09:00
vendor Dashboard: Add Point Of Sale data (#3897) 2022-06-28 14:05:02 +09:00
favicon.ico Init 2017-09-13 15:55:16 +09:00
manifest.json New PoS design 2018-12-27 12:57:31 +08:00