Skip to content

Commit

Permalink
Add product sync to AIMS, add ESL page
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Oct 5, 2024
1 parent ed954d6 commit 8aa2952
Show file tree
Hide file tree
Showing 9 changed files with 961 additions and 407 deletions.
3 changes: 3 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import './tasks/daily-backup.js'
import './tasks/daily-unpaid-invoices-notice.js'
import './tasks/daily-paid-invoices-needs-approval.js'
import './tasks/daily-user-phones.js'
import './tasks/continuous-products-aims-integration.js'
import indexRouter from './routes/index.js'
import aboutRouter from './routes/about.js'
import docsRouter from './routes/docs.js'
Expand All @@ -39,6 +40,7 @@ import paymentsRouter from './routes/payments.js'
import stockRouter from './routes/stock.js'
import newProductRouter from './routes/new_product.js'
import editProductRouter from './routes/edit_product.js'
import eslMapping from './routes/esl_mapping.js'
// Access for admins
import dashboardRouter from './routes/admin/admin_dashboard.js'
import newCategoryRouter from './routes/admin/new_category.js'
Expand Down Expand Up @@ -163,6 +165,7 @@ app.use('/payments', paymentsRouter)
app.use('/stock', stockRouter)
app.use('/new_product', newProductRouter)
app.use('/edit_product', editProductRouter)
app.use('/esl_mapping', eslMapping)
// Access for admins
app.use('/dashboard', dashboardRouter)
app.use('/admin_orders', ordersRouter)
Expand Down
7 changes: 6 additions & 1 deletion build-deps/defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,9 @@ CREDS_COOKIE_ENCRYPTION_VALUE=
CREDS_COOKIE_SAME_SITE=true
CREDS_DESTROY_SESSION_URL=https://{sbfurl}/
CREDS_TENANT_ID={tenant-id}
TZ=Europe/Prague
TZ=Europe/Prague
ESL_AIMS_ENABLED=false
ESL_AIMS_INTEGRATION_CRON=*/5 * * * *
ESL_AIMS_BASE_URL=
ESL_AIMS_STORE=
ESL_AIMS_VERIFY_TLS=true
7 changes: 6 additions & 1 deletion example-dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@ CREDS_COOKIE_ENCRYPTION_VALUE=disbeshorter
CREDS_COOKIE_SAME_SITE=true
CREDS_DESTROY_SESSION_URL=https://localhost/
CREDS_TENANT_ID={tenant-id}
TZ=Europe/Prague
TZ=Europe/Prague
ESL_AIMS_ENABLED=false
ESL_AIMS_INTEGRATION_CRON=*/5 * * * *
ESL_AIMS_BASE_URL=
ESL_AIMS_STORE=
ESL_AIMS_VERIFY_TLS=true
Loading

0 comments on commit 8aa2952

Please sign in to comment.