expand allowed fee digits
parent
f444e803ce
commit
2cf31d7af1
|
|
@ -241,7 +241,7 @@ export const initializeDatabase = () => {
|
|||
" lotTypeId integer," +
|
||||
" includeQuantity boolean not null default 0," +
|
||||
" quantityUnit varchar(30)," +
|
||||
" feeAmount decimal(6, 2)," +
|
||||
" feeAmount decimal(8, 2)," +
|
||||
" feeFunction varchar(100)," +
|
||||
" taxAmount decimal(6, 2)," +
|
||||
" taxPercentage decimal(5, 2)," +
|
||||
|
|
@ -262,8 +262,8 @@ export const initializeDatabase = () => {
|
|||
"lotOccupancyId integer not null," +
|
||||
" feeId integer not null," +
|
||||
" quantity decimal(4, 1) not null default 1," +
|
||||
" feeAmount decimal(6, 2) not null," +
|
||||
" taxAmount decmial(6, 2) not null," +
|
||||
" feeAmount decimal(8, 2) not null," +
|
||||
" taxAmount decmial(8, 2) not null," +
|
||||
recordColumns +
|
||||
"," +
|
||||
" primary key (lotOccupancyId, feeId)," +
|
||||
|
|
@ -277,7 +277,7 @@ export const initializeDatabase = () => {
|
|||
" transactionIndex integer not null," +
|
||||
" transactionDate integer not null check (transactionDate > 0)," +
|
||||
" transactionTime integer not null check (transactionTime >= 0)," +
|
||||
" transactionAmount decimal(6, 2) not null," +
|
||||
" transactionAmount decimal(8, 2) not null," +
|
||||
" externalReceiptNumber varchar(100)," +
|
||||
" transactionNote text," +
|
||||
recordColumns +
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@ export const initializeDatabase = (): boolean => {
|
|||
" lotTypeId integer," +
|
||||
" includeQuantity boolean not null default 0," +
|
||||
" quantityUnit varchar(30)," +
|
||||
" feeAmount decimal(6, 2)," +
|
||||
" feeAmount decimal(8, 2)," +
|
||||
" feeFunction varchar(100)," +
|
||||
" taxAmount decimal(6, 2)," +
|
||||
" taxPercentage decimal(5, 2)," +
|
||||
|
|
@ -350,8 +350,8 @@ export const initializeDatabase = (): boolean => {
|
|||
"lotOccupancyId integer not null," +
|
||||
" feeId integer not null," +
|
||||
" quantity decimal(4, 1) not null default 1," +
|
||||
" feeAmount decimal(6, 2) not null," +
|
||||
" taxAmount decmial(6, 2) not null," +
|
||||
" feeAmount decimal(8, 2) not null," +
|
||||
" taxAmount decmial(8, 2) not null," +
|
||||
recordColumns +
|
||||
"," +
|
||||
" primary key (lotOccupancyId, feeId)," +
|
||||
|
|
@ -368,7 +368,7 @@ export const initializeDatabase = (): boolean => {
|
|||
" transactionIndex integer not null," +
|
||||
" transactionDate integer not null check (transactionDate > 0)," +
|
||||
" transactionTime integer not null check (transactionTime >= 0)," +
|
||||
" transactionAmount decimal(6, 2) not null," +
|
||||
" transactionAmount decimal(8, 2) not null," +
|
||||
" externalReceiptNumber varchar(100)," +
|
||||
" transactionNote text," +
|
||||
recordColumns +
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@
|
|||
<div class="field">
|
||||
<label class="label" for="feeAdd--feeAmount">Fee Amount</label>
|
||||
<div class="control has-icons-left">
|
||||
<input class="input has-text-right is-success" id="feeAdd--feeAmount" name="feeAmount" type="number" step="0.01" min="0" max="9999.99" value="0" onwheel="return false" />
|
||||
<input class="input has-text-right is-success" id="feeAdd--feeAmount" name="feeAmount" type="number" step="0.01" min="0" max="999999.99" value="0" onwheel="return false" />
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fas fa-dollar-sign" aria-hidden="true"></i>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
<div class="field">
|
||||
<label class="label" for="feeEdit--feeAmount">Fee Amount</label>
|
||||
<div class="control has-icons-left">
|
||||
<input class="input has-text-right" id="feeEdit--feeAmount" name="feeAmount" type="number" step="0.01" min="0" max="9999.99" value="0" onwheel="return false" />
|
||||
<input class="input has-text-right" id="feeEdit--feeAmount" name="feeAmount" type="number" step="0.01" min="0" max="999999.99" value="0" onwheel="return false" />
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fas fa-dollar-sign" aria-hidden="true"></i>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue