diff --git a/app/tools/eib/eib_pre_template.xlsx b/app/tools/eib/eib_pre_template.xlsx index 6171db2..cba344b 100644 Binary files a/app/tools/eib/eib_pre_template.xlsx and b/app/tools/eib/eib_pre_template.xlsx differ diff --git a/app/tools/eib/merchant_lookup.csv b/app/tools/eib/merchant_lookup.csv index b775d1c..2b6a7e0 100644 --- a/app/tools/eib/merchant_lookup.csv +++ b/app/tools/eib/merchant_lookup.csv @@ -53,3 +53,121 @@ EMIRATES LEISURE RETAI,EMIRATES LEISURE RETAI MUGG AND BEAN ROSEBANK,MUGG AND BEAN ROSEBANK WWW.GRAB.COM,Grab Uber,Uber +TRIP.COM,Trip.COM +Aegean Airlines,Aegean Airlines +Trip.com,Trip.com +CHUBB SAMAGGI INSURANC,CHUBB SAMAGGI INSURANC +DEAN 12 SVB-SAT1,DEAN 12 SVB-SAT1 +NIZA NITA,NIZA NITA +M9 KIRIROM MART,M9 KIRIROM MART +Tribe Express,Tribe Express +Don Vino,Don Vino +Romduol Khmer Restaurant,Romduol Khmer Restaurant +Sombok Restaurant,Sombok Restaurant +Wat Chocolate Riversid,Wat Chocolate Riversid +DLC*DIDI (INTERNACIONA,DIDI INTERNACIONAL +DLC*UBER RIDES,UBER RIDES +KRAVANH RESTAURANT 1,KRAVANH RESTAURANT 1 +DFI LUCKY SORYA,DFI LUCKY SORYA +TEMPO,TEMPO +MALIS RESTAURANT PP1,MALIS RESTAURANT PP1 +AVECIM,AVECIM +H-ELARTE MIRAFLORES,H-ELARTE MIRAFLORES +REST MANGOS CAFE,REST MANGOS CAFE +Ibis Hotels,Ibis Hotels +SELVATIKA COMIDA AMAZO,SELVATIKA COMIDA AMAZO +IZI*AMARU COMIDA CRIOL,IZI AMARU COMIDA CRIOL +NASHMY S,NASHMY S +VEM*TIO CUCHO,VEMTIO CUCHO +7MAKARA BBQ 1,7MAKARA BBQ 1 +Angkor Market Damnak 2,Angkor Market Damnak 2 +CORPORACION SALTAO,CORPORACION SALTAO +PUCUSANA,PUCUSANA +Grab* A-9ORLBEXGWGDEAV,Grab +Grab* A-9ORN8NCWWAAFAV,Grab +7 SOPAS KENNEDY,7 SOPAS KENNEDY +SPOONS Café Restaurant,SPOONS Cafe Restaurant +NEW HOPE RESTAURANT,NEW HOPE RESTAURANT +ANGKOR MARKET 2,ANGKOR MARKET 2 +CEVICHERIA PURO MAR,CEVICHERIA PURO MAR +IZI*COUNTDOWN PERU,IZI COUNTDOWN PERU +MOLLYS IRISH BAR,MOLLYS IRISH BAR +MARUM RESTAURANT,MARUM RESTAURANT +BO003 ARMENDARIZ,BO003 ARMENDARIZ +IZI*TIENDECITA BLANCA,IZI TIENDECITA BLANCA +DLC*UBER*RIDES,UBER +UE *COSTA RICA,UE COSTA RICA +Printify,Printify +Kgp Travelzeed,Kgp Travelzeed +Centrum O.p.r. Ewa Do,Centrum O.p.r. Ewa Do +Lotus Blanc Resort,Lotus Blanc Resort +Brown R Siem Reap,Brown R Siem Reap +Vodafone,Vodafone +Udemy,Udemy +Anthropic Claude Subscription,Anthropic +Anthropic,Anthropic +International Medical Group,International Medical Group +Supersim,Supersim +Faturamati Payrota T,Faturamati Payrota T +Zachos Estiash,Zachos Estiash +Manos Magoulis,Manos Magoulis +Daskalaki Iwanna,Daskalaki Iwanna +Sofas,Sofas +Taxi,Taxi +Kidonias Michail,Kidonias Michail +Mt Cozy Corner,Mt Cozy Corner +Proud Mary,Proud Mary +Taxi Services,Taxi Services +Olympic Catering,Olympic Catering +Sipay Elek Sitaxi,Sipay Elek Sitaxi +Airlink,Airlink +NightsBridge,NightsBridge +Vilakazi African H - Ikhokha,Vilakazi African H - Ikhokha +Chicken Licken,Chicken Licken +Interglobe Aviation Lt,Interglobe Aviation Lt +Bench Warmers - Yoco,Bench Warmers - Yoco +Kotinos S A,Kotinos S A +Vomba Tours and Safari,Vomba Tours and Safari +Ste Hoteliere Oudaya,Ste Hoteliere Oudaya +Starbucks,Starbucks +Krishnarpan Hospitalit,Krishnarpan Hospitalit +The Other Space,The Other Space +Ralenale - Yoco,Ralenale - Yoco +Itc Fortune Park Pala,Itc Fortune Park Pala +Gloria Jean's Coffees,Gloria Jean's Coffees +Smart,Smart +Mugg & Bean,Mugg & Bean +Unlimited Shop,Unlimited Shop +The Tea Room Palampur,The Tea Room Palampur +KFC,KFC +Norling Restaurant,Norling Restaurant +TGI Fridays,TGI Fridays +Glovo,Glovo +Lotus Silk Farm,Lotus Silk Farm +Airalo,Airalo +Savidans the Local Sto,Savidans the Local Sto +Centrocopie E Servizi,Centrocopie E Servizi +Punto Perlage,Punto Perlage +T-Mobile,T-Mobile +Muc Airport Gastro,Muc Airport Gastro +Plato Hazyview - Yoco,Plato Hazyview - Yoco +Bolt,Bolt +Mart,Mart +Smr Khjol,Smr Khjol +Seorae Korean BBQ,Seorae Korean BBQ +126 Restaurant,126 Restaurant +Coffee Concepts Cambod,Coffee Concepts Cambodia +Coffee Plus Skun,Coffee Plus Skun +Top Pub T,Top Pub T +Angkor Market 2,Angkor Market +Pago Tiquete Bus Gp,Pago Tiquete Bus Gp +Temple Group,Temple Group +Phsar Khmer,Phsar Khmer +Le Blanc by Lotus,Le Blanc by Lotus +Banco de Costa Rica Centro Comercial Del Sur,Banco de Costa Rica Centro Comercial Del Sur +Angkor Enterprise,Angkor Enterprise +Angkor Enterprise Pavi,Angkor Enterprise Pavi +Norm In,Norm In +Spoons Cafe Restaurant,Spoons Cafe Restaurant +Aka,Aka +Restaurante El Gran P,Restaurante El Gran P diff --git a/templates/payslip/index.html b/templates/payslip/index.html index 0328c08..fdb2177 100644 --- a/templates/payslip/index.html +++ b/templates/payslip/index.html @@ -145,13 +145,15 @@ main { .field input[type="text"], .field input[type="date"], .field input[type="number"], +.field select, .field textarea { width: 100%; background: var(--navy-4); border: 1px solid var(--border); border-radius: 6px; padding: 9px 11px; color: var(--w1); font-family: var(--body); font-size: 13px; transition: border-color .15s; } .field textarea { resize: vertical; min-height: 52px; font-family: var(--body); } -.field input:focus, .field textarea:focus { +.field select { cursor: pointer; } +.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--cyan-glow); } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } @@ -259,7 +261,7 @@ main { } .ps-meta-item { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #eee; } .ps-meta-item span:first-child { color: #666; } -.ps-meta-item span:last-child { font-weight: 500; color: #111; } +.ps-meta-item span:last-child { font-weight: 500; color: #111; text-align: right; } .ps-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; } .ps-table-title { @@ -289,11 +291,6 @@ main { margin-top: 10px; font-size: 11px; color: #666; font-style: italic; } -.ps-footer { - margin-top: 28px; padding-top: 14px; border-top: 1px solid #eee; - font-size: 10px; color: #999; text-align: center; -} - footer.app-footer { position: relative; z-index: 1; text-align: center; padding: 24px; font-size: 11px; color: var(--w3); border-top: 1px solid var(--border); @@ -356,7 +353,7 @@ footer.app-footer a { color: var(--cyan); text-decoration: none; }
- +
@@ -373,7 +370,7 @@ footer.app-footer a { color: var(--cyan); text-decoration: none; }
- +
@@ -407,8 +404,13 @@ footer.app-footer a { color: var(--cyan); text-decoration: none; }
- - + +
@@ -451,7 +453,7 @@ footer.app-footer a { color: var(--cyan); text-decoration: none; }
-
Undo Designs
+
Planeterra
19 Charlotte Street Toronto, ON M5V 2H5
@@ -464,7 +466,7 @@ Toronto, ON M5V 2H5
Contractor nameJordan Rivers
-
Contractor IDEMP-0142
+
Contractor ID
DesignationSoftware Engineer
DepartmentEngineering
Pay date—
@@ -491,7 +493,6 @@ Toronto, ON M5V 2H5
Zero only
- @@ -549,7 +550,6 @@ function numberToWords(num) { } function formatWords(num) { - const cur = $('currency').value.trim() || '$'; const intPart = Math.floor(Math.abs(num)); const cents = Math.round((Math.abs(num) - intPart) * 100); let words = numberToWords(intPart); @@ -561,7 +561,7 @@ function formatWords(num) { // ── Formatting ────────────────────────────────────────────────────────────── function fmt(n) { - const cur = $('currency').value.trim() || '$'; + const cur = $('currency').value.trim() || 'USD'; return cur + ' ' + (n || 0).toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 }); } @@ -722,7 +722,7 @@ $('resetBtn').addEventListener('click', () => { if (!confirm('Clear all fields and start over?')) return; ['companyName','companyAddress','empName','empId','empTitle','empDept','payPeriod', 'bankName','bankAcct'].forEach(id => $(id).value = ''); - $('currency').value = '$'; + $('currency').value = 'USD'; $('payDate').value = ''; earnings = [{ desc: '', amount: 0 }]; deductions = [{ desc: '', amount: 0 }]; @@ -766,7 +766,7 @@ function loadDraft() { $('payDate').value = d.payDate ?? ''; $('bankName').value = d.bankName ?? ''; $('bankAcct').value = d.bankAcct ?? ''; - $('currency').value = d.currency ?? '$'; + $('currency').value = d.currency ?? 'USD'; if (Array.isArray(d.earnings) && d.earnings.length) earnings = d.earnings; if (Array.isArray(d.deductions) && d.deductions.length) deductions = d.deductions; if (d.logoDataUrl) {