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' + )