fix: preserve bid drafts and align tender source data

This commit is contained in:
2026-09-06 08:40:10 +03:00
parent c91631d99f
commit 456728b4bd
26 changed files with 510 additions and 81 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ function mapDtRow(row) {
kurum,
sehir: row.ili && !row.ili.startsWith('Plaka') ? titleCaseTr(row.ili) : '',
bolge: '',
tarih: row.dt_tarihi || '',
saat: (det.tarihSaat || '').split(' ')[1] || '',
tarih: (row.dt_tarihi || '').split(' ')[0],
saat: (det.tarihSaat || row.dt_tarihi || '').match(/\d{2}:\d{2}/)?.[0] || '',
alimTuru: 'Doğrudan Temin',
usul: det.yasaMaddesi
? `Doğrudan Temin (4734 ${det.yasaMaddesi})`