Commit 34fae9e8 by Jorem Magcawas

update latest

parent aec6a2f3
......@@ -26,23 +26,7 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
<attribute name="test" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
......
......@@ -24,7 +24,7 @@
/*var SCHEMA_FILE = "./src/sample_schema/SC Schema.json"*/
var SCHEMA_FILE = "./src/sample_schema/Speed Test Application Form schema.json"
var SCHEMA_FILE = "./src/sample_schema/formatted-json-acconting.json"
//const INPUT_FILES = ["./input/Ong, Mae Janica - Application Form.TIFF","./input/Magalona, Rowell James - Application Form.TIFF","./input/Felizardo, Brylle Theodure - Application Form.TIFF","./input/Laxamana, Conrad John - Application Form.TIFF"] // list of URLs
......
......@@ -69,6 +69,8 @@
<div class="popuptext" id="myPopup">
•Pause -> Esc<br>
•Submit -> SHIFT ENTER<br>
•Next Page -> CTRL +<br>
•Previous Page -> CTRL -<br>
•Fit Content -> SHIFT F<br>
•Flip Horizontally -> CTRL SHIFT H<br>
•Flip Vertically -> CTRL SHIFT V<br>
......@@ -76,8 +78,8 @@
•Rotate to left -> SHIFT PAGE DOWN<br>
•Zoom in -> CTRL +<br>
•Zoom out -> CTRL -<br>
•Previous -> F11<br>
•Next -> F12<br>
•Previous Image-> F11<br>
•Next Image-> F12<br>
•Scroll Image to the Left -> CTRL LEFT ARROW<br>
•Scroll Image to the Right -> CTRL RIGHT ARROW<br>
•Scroll Up Image -> CTRL UP ARROW<br>
......
......@@ -175,15 +175,6 @@ function setRadioHandler(id){
}
function checkLabelComponent(textLabel,inputval,checkboxId){
let checkBoxCont = document.createElement('div');
checkBoxCont.id = 'checkBoxCont';
......
......@@ -246,6 +246,7 @@ var displayPdf = function(doc) {
document.addEventListener("keydown", (e) => {
if (e.ctrlKey && e.key === "=") {
e.preventDefault();
currentScale += 0.1;
renderPage(currentPage);
}
......@@ -259,6 +260,7 @@ var displayPdf = function(doc) {
document.addEventListener("keydown", (e) => {
if (e.ctrlKey && e.key === "-") {
e.preventDefault();
currentScale -= 0.1;
renderPage(currentPage);
}
......
{
"ACCOUNTS PAYABLE":{
"SECTION1":{
"Business Name":{
"fieldLabel": "Business Name",
"aka": "field110",
"validation":{
"fieldLength": 30,
"collection": "dropdown",
"options": ["Antel", "BDO_CC", "CIAC", "Converge", "Crayon_Software_Experts", "Electric_Bill", "F.A._Bautista_And_Partners", "Globe", "Gsantiago_Commercial_Building", "HSBC", "Payroll", "PLDT", "Sir_Patrick_Security_Services", "Smart", "Source_Telecomms", "UPB_CC", "UPB_Interest_On_Loan", "Vengons_Bldg", "Water_Bill"],
"mandatory": true
}
},
"Date":{
"fieldLabel": "Date",
"aka": "field120",
"validation":{
"fieldLength": 10,
"collection": "datepicker",
"mandatory": true
}
},
"Project Classification":{
"fieldLabel": "Project Classification",
"aka": "field130",
"validation":{
"fieldLength": 0,
"collection": "alphanumeric",
"mandatory": false
}
},
"Amount Due":{
"fieldLabel": "Amt Due/Total Amt/Bal Due",
"aka": "field140",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
},
"Due Date":{
"fieldLabel": "Due Date",
"aka": "field150",
"validation":{
"fieldLength": 10,
"collection": "datepicker",
"mandatory": true
}
},
"Description":{
"fieldLabel": "Description",
"aka": "field160",
"validation":{
"fieldLength": 100,
"collection": "alphanumeric",
"mandatory": true
}
},
"Vat Amount":{
"fieldLabel": "VAT/Tax Amt",
"aka": "field170",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
}
}
},
"ACCOUNTS RECEIVABLE":{
"SECTION2":{
"To":{
"fieldLabel": "To",
"aka": "field210",
"validation":{
"fieldLength": 50,
"collection": "alphanumeric",
"mandatory": true
}
},
"Project Classification":{
"fieldLabel": "Project Classification",
"aka": "field220",
"validation":{
"fieldLength": 15,
"collection": "dropdown",
"options": ["BPI_KYC", "BPI_CC", "BPI_Banko_KYC", "SEC_ODRS", "SEC_Manual", "PHC", "Culion", "CDC", "Advantage", "Prisma", "NEA", "PHIVOLCS"],
"mandatory": true
}
},
"Date":{
"fieldLabel": "Date",
"aka": "field230",
"validation":{
"fieldLength": 10,
"collection": "datepicker",
"mandatory": true
}
},
"Address":{
"fieldLabel": "Address",
"aka": "field240",
"validation":{
"fieldLength": 100,
"collection": "alphanumeric",
"mandatory": true
}
},
"Invoice number":{
"fieldLabel": "Invoice Number",
"aka": "field250",
"validation":{
"fieldLength": 10,
"collection": "numeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ.,'~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
},
"P.O. Number":{
"fieldLabel": "P.O. Number",
"aka": "field260",
"validation":{
"fieldLength": 10,
"collection": "numeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ.,'~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": false
}
},
"Description":{
"fieldLabel": "Description",
"aka": "field270",
"validation":{
"fieldLength": 100,
"collection": "alphanumeric",
"mandatory": true
}
},
"Amount 1":{
"fieldLabel": "Amount 1",
"aka": "field280",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
},
"Amount 2":{
"fieldLabel": "Amount 2",
"aka": "field281",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
},
"Amount 3":{
"fieldLabel": "Amount 3",
"aka": "field282",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
},
"Amount 4":{
"fieldLabel": "Amount 4",
"aka": "field283",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
},
"Amount 5":{
"fieldLabel": "Amount 5",
"aka": "field284",
"validation":{
"fieldLength": 16,
"collection": "alphanumeric",
"invalidchar": "abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;\"|\\<>",
"mandatory": true
}
}
}
}
}
\ No newline at end of file
......@@ -73,7 +73,7 @@ html {
*{
-webkit-font-smoothing: auto;
font-size: 13px;
font-size: 11px;
letter-spacing: 0.1em;
text-rendering: optimizeLegibility;
font-weight: normal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment