Add book refresh button. Add amazon TLDs

This commit is contained in:
Reckless_Satoshi 2022-04-22 08:13:40 -07:00
commit f7fb80ee07
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
6 changed files with 30 additions and 3208 deletions

1
.gitignore vendored
View File

@ -655,3 +655,4 @@ frontend/static/rest_framework*
frontend/static/import_export*
frontend/src/components/payment-methods/code*
frontend/src/components/payment-methods/webp*
frontend/static/frontend/**

View File

@ -10,6 +10,9 @@ import Image from 'material-ui-image'
import getFlags from './getFlags'
import PaymentText from './PaymentText'
// Icons
import RefreshIcon from '@mui/icons-material/Refresh';
class BookPage extends Component {
constructor(props) {
super(props);
@ -252,9 +255,10 @@ class BookPage extends Component {
const { t } = this.props;
return (
<Grid className='orderBook' container spacing={1} sx={{minWidth:400}}>
{/* <Grid item xs={12} align="center">
<Typography component="h4" variant="h4">ORDER BOOK</Typography>
</Grid> */}
<IconButton sx={{position:'fixed',right:'0px', top:'30px'}} onClick={()=>this.setState({loading: true}) & this.getOrderDetails(this.props.type, this.props.currency)}>
<RefreshIcon/>
</IconButton>
<Grid item xs={6} align="right">
<FormControl align="center">

View File

@ -16,6 +16,26 @@ export const paymentMethods = [
{name: "Bizum",icon:'bizum'},
{name: "N26",icon:'n26'},
{name: "Amazon GiftCard",icon:'amazon'},
{name: "Amazon USA GiftCard",icon:'amazon'},
{name: "Amazon DE GiftCard",icon:'amazon'},
{name: "Amazon AU GiftCard",icon:'amazon'},
{name: "Amazon SA GiftCard",icon:'amazon'},
{name: "Amazon ES GiftCard",icon:'amazon'},
{name: "Amazon CA GiftCard",icon:'amazon'},
{name: "Amazon CN GiftCard",icon:'amazon'},
{name: "Amazon EG GiftCard",icon:'amazon'},
{name: "Amazon AE GiftCard",icon:'amazon'},
{name: "Amazon FR GiftCard",icon:'amazon'},
{name: "Amazon NL GiftCard",icon:'amazon'},
{name: "Amazon IN GiftCard",icon:'amazon'},
{name: "Amazon IT GiftCard",icon:'amazon'},
{name: "Amazon JP GiftCard",icon:'amazon'},
{name: "Amazon MX GiftCard",icon:'amazon'},
{name: "Amazon PL GiftCard",icon:'amazon'},
{name: "Amazon UK GiftCard",icon:'amazon'},
{name: "Amazon SE GiftCard",icon:'amazon'},
{name: "Amazon SG GiftCard",icon:'amazon'},
{name: "Amazon TR GiftCard",icon:'amazon'},
{name: "AliPay", icon: 'alipay'},
{name: "Bancolombia",icon:'bancolombia'},
{name: "SPEI",icon:'spei'},

View File

@ -70,6 +70,8 @@
"not specified":"Sin especificar",
"Instant SEPA":"SEPA Instantánea",
"Amazon GiftCard":"Amazon Tarjeta Regalo",
"Amazon ES GiftCard":"Amazon ES Tarjeta Regalo",
"Amazon MX GiftCard":"Amazon MX Tarjeta Regalo",
"Google Play Gift Code":"Google Play Tarjeta Regalo",
"Cash F2F":"Efectivo en persona",
"On-Chain BTC":"On-Chain BTC",

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff