From 3cc519702fe250c37d2e7878f8047388fc14aed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Thu, 18 Jun 2026 18:22:52 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.13:=20upload.cfm=20=E2=80=94=20contract=5F?= =?UTF-8?q?id=20=D0=B4=D0=BB=D1=8F=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BE=D0=BF=D0=BD=D0=B8=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.cfm | 2 +- upload.cfm | 28 +++++++++++++++++----------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/index.cfm b/index.cfm index 5e57deb..6f0a338 100644 --- a/index.cfm +++ b/index.cfm @@ -1 +1 @@ -OK v1.0.12 +OK v1.0.13 diff --git a/upload.cfm b/upload.cfm index 78cd6e7..4075d7e 100644 --- a/upload.cfm +++ b/upload.cfm @@ -38,22 +38,28 @@ ORDER BY created_at DESC LIMIT 1 - - INSERT INTO contracts (number, client) VALUES ( - , - '' - ) - - - - SELECT id FROM contracts ORDER BY created_at DESC LIMIT 1 - + + + + + + + INSERT INTO contracts (number, client) VALUES ( + , + '' + ) + + + SELECT id FROM contracts ORDER BY created_at DESC LIMIT 1 + + + INSERT INTO supplements (contract_id, document_id, type) VALUES ( , , - 'initial' + )