Advertisement
PeppSess

Config js of fnx-idcard

Jun 17th, 2022 (edited)
826
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. var bg1 = "./assets/image/img1.png";
  4. var bg2 = "./assets/image/img2.png";
  5. var bg3 = "./assets/image/img3.png";
  6.  
  7. var genderMale = "M";
  8. var genderFemale = "F";
  9.  
  10. var dateSeparator = "/";
  11. var dateFormat = 'mm/gg/yyyy'; /*   1) mm/gg/yyyy || 2) gg/mm/yyyy || 3) yyyy/mm/gg */
  12.  
  13. var config= {
  14.     logo:"./assets/image/logo.png",
  15.     bg_front_idCard: bg1,
  16.     bg_back_idCard: bg2,
  17.     bg_front_drive: bg3,
  18.     bg_back_drive: bg2,
  19.     bg_front_weapon: bg2,
  20.     bg_back_weapon: bg3,
  21.     id_card:"ID CARD",
  22.     drive_title:"DRIVE LICENSE",
  23.     weapon:"WEAPON LICENSE",
  24.     height:"HEIGHT",
  25.     dob:"D.O.B",
  26.     sex:"SEX",
  27.     codeHint:"Personal Code",
  28.     drive:"CAR",
  29.     drive_bike:"BIKE",
  30.     drive_truck:"TRUCK",
  31.     yes_license:"🟢",
  32.     no_license:"🔴",
  33.     release_hint:"Relese Date",
  34. }
  35.  
  36. /* DON'T TOUCH */
  37. function errorLog(string) {
  38.     return console.error(string);  
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement