ggascoigne / amber

https://amberconnw.org
MIT License
3 stars 0 forks source link

packages/amber/views/Payment/Payment.tsx contains ACNW specific payment information #147

Closed evoskamp closed 8 months ago

evoskamp commented 8 months ago

This is specific to ACNW:

       <>
          <DialogContentText sx={{ pt: 2 }}>
            Alternatively, write a check for <strong>${Math.max(0 - balance, 0)}</strong> made out to{' '}
            <strong>AmberCon NorthWest Inc</strong>, and send to:
          </DialogContentText>
          <DialogContentText sx={{ pl: 2 }}>
            AmberCon NorthWest Inc
            <br />
            1914 SE 24th Ave
            <br />
            Portland OR 97214
          </DialogContentText>
        </>

We could generalize it by sticking sitenam and address in settings.

evoskamp commented 8 months ago

Pulled in configuration, check against number of slots and added a check against acnw to the block displaying the check option.