This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Coupa Receipt Filter (Attach Receipt dialog, ±% across currencies) | |
| // @namespace local.tylerkeller | |
| // @version 0.3.1 | |
| // @description When the Coupa "Attach a receipt" dialog opens, filter receipts to those within ±X% of the expense line's Total Amount (converted to USD/EUR/COP/SGD/TRY). Displays merchant, date, and total on the filter bar. Shrinks the dialog body so the Attach/Cancel buttons remain visible. | |
| // @match https://*.coupahost.com/* | |
| // @run-at document-idle | |
| // @grant GM_xmlhttpRequest | |
| // @connect open.er-api.com | |
| // ==/UserScript== |