Showing
1 changed file
with
18 additions
and
18 deletions
... | ... | @@ -178,11 +178,11 @@ def isodate_format(isodate, format): |
178 | 178 | |
179 | 179 | |
180 | 180 | def procuring_entity_name(tender_data): |
181 | - tender_data.data.procuringEntity['name'] = u"ТОВ \"ПлейТендер\"" | |
182 | - tender_data.data.procuringEntity['name_en'] = u"TOV \"playtender\"" | |
183 | - tender_data.data.procuringEntity.identifier['id'] = u"1234567890-playtender" | |
184 | - tender_data.data.procuringEntity.identifier['legalName'] = u"ТОВ \"ПлейТендер\"" | |
185 | - tender_data.data.procuringEntity.identifier['legalName_en'] = u"TOV \"playtender\"" | |
181 | + tender_data.data.procuringEntity['name'] = u"ТОВ \"ПабликБид\"" | |
182 | + tender_data.data.procuringEntity['name_en'] = u"TOV \"publicbid\"" | |
183 | + tender_data.data.procuringEntity.identifier['id'] = u"1234567890-publicbid" | |
184 | + tender_data.data.procuringEntity.identifier['legalName'] = u"ТОВ \"ПабликБид\"" | |
185 | + tender_data.data.procuringEntity.identifier['legalName_en'] = u"TOV \"publicbid\"" | |
186 | 186 | if 'address' in tender_data.data.procuringEntity: |
187 | 187 | tender_data.data.procuringEntity.address['region'] = u"м. Київ" |
188 | 188 | tender_data.data.procuringEntity.address['postalCode'] = u"123123" |
... | ... | @@ -193,24 +193,24 @@ def procuring_entity_name(tender_data): |
193 | 193 | tender_data.data.procuringEntity.contactPoint['name_en'] = u"Test" |
194 | 194 | tender_data.data.procuringEntity.contactPoint['email'] = u"chuzhin@mail.ua" |
195 | 195 | tender_data.data.procuringEntity.contactPoint['telephone'] = u"+3801111111111" |
196 | - tender_data.data.procuringEntity.contactPoint['url'] = u"http://playtender.com.ua" | |
196 | + tender_data.data.procuringEntity.contactPoint['url'] = u"http://publicbid.com.ua" | |
197 | 197 | if 'buyers' in tender_data.data: |
198 | - tender_data.data.buyers[0]['name'] = u"ТОВ \"ПлейТендер\"" | |
199 | - tender_data.data.buyers[0].identifier['id'] = u"1234567890-playtender" | |
200 | - tender_data.data.buyers[0].identifier['legalName'] = u"ТОВ \"ПлейТендер\"" | |
198 | + tender_data.data.buyers[0]['name'] = u"ТОВ \"ПабликБид\"" | |
199 | + tender_data.data.buyers[0].identifier['id'] = u"1234567890-publicbid" | |
200 | + tender_data.data.buyers[0].identifier['legalName'] = u"ТОВ \"ПабликБид\"" | |
201 | 201 | return tender_data |
202 | 202 | |
203 | 203 | # prepare data |
204 | 204 | def prepare_procuring_entity_data(data): |
205 | 205 | try: |
206 | - data['name'] = u"Playtender" | |
207 | - data.identifier['id'] = u"playtender" | |
208 | - data.identifier['legalName'] = u"Playtender" | |
206 | + data['name'] = u"publicbid" | |
207 | + data.identifier['id'] = u"publicbid" | |
208 | + data.identifier['legalName'] = u"publicbid" | |
209 | 209 | data.identifier['scheme'] = u"UA-EDR" |
210 | 210 | if 'name_en' in data: |
211 | - data['name_en'] = u"Playtender" | |
211 | + data['name_en'] = u"publicbid" | |
212 | 212 | if 'legalName_en' in data.identifier: |
213 | - data.identifier['legalName_en'] = u"Playtender" | |
213 | + data.identifier['legalName_en'] = u"publicbid" | |
214 | 214 | if 'address' in data: |
215 | 215 | data.address['countryName'] = u"Україна" |
216 | 216 | data.address['locality'] = u"Київ" |
... | ... | @@ -224,7 +224,7 @@ def prepare_procuring_entity_data(data): |
224 | 224 | data.contactPoint['name'] = u"Test" |
225 | 225 | if 'name_en' in data.contactPoint: |
226 | 226 | data.contactPoint['name_en'] = u"Test" |
227 | - data.contactPoint['url'] = u"https://playtender.com.ua" | |
227 | + data.contactPoint['url'] = u"https://publicbid.com.ua" | |
228 | 228 | except Exception: |
229 | 229 | raise Exception('data is not a dictionary') |
230 | 230 | |
... | ... | @@ -239,9 +239,9 @@ def prepare_buyers_data(data): |
239 | 239 | return |
240 | 240 | |
241 | 241 | item = next(iter(data), None) |
242 | - item['name'] = u"Playtender" | |
243 | - item.identifier['id'] = u"playtender" | |
244 | - item.identifier['legalName'] = u"Playtender" | |
242 | + item['name'] = u"publicbid" | |
243 | + item.identifier['id'] = u"publicbid" | |
244 | + item.identifier['legalName'] = u"publicbid" | |
245 | 245 | item.identifier['scheme'] = u"UA-EDR" |
246 | 246 | |
247 | 247 | ... | ... |
Please
register
or
login
to post a comment