Fix algebraic order of fees
Spam fees must come immediately after the base fee since it multiplies the base fee.
This commit is contained in:
parent
b71f320b59
commit
bcadbb2dcd
@ -20,16 +20,16 @@ function Receipt ({ cost, repetition, imageFees, baseFee, parentId, boost }) {
|
|||||||
<td>{numWithUnits(baseFee, { abbreviate: false })}</td>
|
<td>{numWithUnits(baseFee, { abbreviate: false })}</td>
|
||||||
<td align='right' className='font-weight-light'>{parentId ? 'reply' : 'post'} fee</td>
|
<td align='right' className='font-weight-light'>{parentId ? 'reply' : 'post'} fee</td>
|
||||||
</tr>
|
</tr>
|
||||||
{imageFees &&
|
|
||||||
<tr>
|
|
||||||
<td>+ {imageFees.unpaid} x {numWithUnits(imageFees.fees, { abbreviate: false })}</td>
|
|
||||||
<td align='right' className='font-weight-light'>image fees</td>
|
|
||||||
</tr>}
|
|
||||||
{repetition > 0 &&
|
{repetition > 0 &&
|
||||||
<tr>
|
<tr>
|
||||||
<td>x 10<sup>{repetition}</sup></td>
|
<td>x 10<sup>{repetition}</sup></td>
|
||||||
<td className='font-weight-light' align='right'>{repetition} {parentId ? 'repeat or self replies' : 'posts'} in 10m</td>
|
<td className='font-weight-light' align='right'>{repetition} {parentId ? 'repeat or self replies' : 'posts'} in 10m</td>
|
||||||
</tr>}
|
</tr>}
|
||||||
|
{imageFees &&
|
||||||
|
<tr>
|
||||||
|
<td>+ {imageFees.unpaid} x {numWithUnits(imageFees.fees, { abbreviate: false })}</td>
|
||||||
|
<td align='right' className='font-weight-light'>image fees</td>
|
||||||
|
</tr>}
|
||||||
{boost > 0 &&
|
{boost > 0 &&
|
||||||
<tr>
|
<tr>
|
||||||
<td>+ {numWithUnits(boost, { abbreviate: false })}</td>
|
<td>+ {numWithUnits(boost, { abbreviate: false })}</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user