function writeStrInTable(e) {
var ProfitRatio = e.profit_ratio;
var ManagerRatio = e.manager_ratio;
var AdRatio = e.ad_ratio;
// Получаем объект с активной (открытой в данный момент) таблицей
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var sheetname = ss.getSheetByName('Продажи на Prom ua');
var lastRow = sheetname.getLastRow();
var lastColumn = sheetname.getLastColumn();
for (var i = 2; i < lastRow; i++) {
for (var j = 1; j < lastColumn; j++) {
var sheet1 = ss.getSheetByName('Продажи на Prom ua');
if(sheet1.getRange(i, 5).getFontColor() == "#ff0000"){
let NamePr = sheet1.getRange(i,5).getValue();
let price = sheet1.getRange(i,7).getValue();
break;
}}
var result = check('Прейскурант товаров', 'A:A', NamePr)
sheet1.getRange(i,3).activate();
if (result){
// Записываем полученные данные в таблицу 'Прейскурант товаров'
var sheetname = ss.getSheetByName('Прейскурант товаров');
sheetname.getRange(i,3).activate();
sheetname.getRange(result, 2).setValue(price - price*ProfitRatio);
sheetname.getRange(result, 3).setValue(ProfitRatio);
sheetname.getRange(result, 4).setValue(price);
sheetname.getRange(result, 5).setValue(ManagerRatio);
sheetname.getRange(result, 6).setValue(AdRatio);
}
else{
sheet1.getRange(i,3).activate();
var lRow = sheetname.getLastRow()+1;
sheetname.getRange(lRow, 1).setValue(NamePr);
sheetname.getRange(lRow, 2).setValue(price - price*ProfitRatio);
sheetname.getRange(lRow, 3).setValue(ProfitRatio);
sheetname.getRange(lRow, 4).setValue(price);
sheetname.getRange(lRow, 5).setValue(ManagerRatio);
sheetname.getRange(lRow, 6).setValue(AdRatio);
}
};
return "Всё прошло успешно!";
}
function FunctionCall(){
writeStrInTable(e);
}
function showSidebar() {
// Подключаем Bootstrap
//var sidebarHTML = HtmlService.createTemplateFromFile("client");
var sidebarHTML = '<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">';
// Подключаем jQuery
sidebarHTML += '<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>';
sidebarHTML += '<form style="padding: 20px;text-align:center;">\
<div class="form-group">\
<label for="profit_ratio">Коэффициет прибыли</label>\
<input type="text" class="form-control" id="profit_ratio" name="profit_ratio" value="">\
</div>\
<div class="form-group">\
<label for="manager_ratio">Коэффициет менеджера</label>\
<input type="text" class="form-control" id="manager_ratio" name="manager_ratio" value="">\
</div>\
<div class="form-group">\
<label for="ad_ratio">Коэффициет рекламы</label>\
<input type="text" class="form-control" id="ad_ratio" name="ad_ratio" value="">\
</div>\
<button type="submit" class="btn btn-primary">Записать данные в таблицу</button>\
<br><br><br>\
<button type="button" id="sidebarClose" class="btn btn-danger">Закрыть сайдбар</button>\
</form>';
// Создаём форму
// Добавляем скрипты
// При сабмите формы вызываем функцию writeStrInTable() и передаём ей введённые данные
// https://developers.google.com/apps-script/guides/html/reference/run
// При клике на кнопку 'Закрыть сайдбар' закрываем его
// https://developers.google.com/apps-script/guides/html/reference/host#close()
//**********************************************************************************************************************************************
sidebarHTML += "<script>\
$(document).on('submit', 'form', function () { \
google.script.run \
.withSuccessHandler(function (resultMsg) { \
alert(resultMsg);\
})\
.writeStrInTable(\
{ profit_ratio: $('#profit_ratio').val(), manager_ratio: $('#manager_ratio').val(), ad_ratio: $('#ad_ratio').val() }\
);\
return false;\
});\
\
$('#sidebarClose').on('click', function() {\
google.script.host.close();\
});\
</script>";
var htmlOutput = HtmlService
.createHtmlOutput(sidebarHTML)
.setTitle('Цвет текста в ячейке поменялся');
SpreadsheetApp.getUi().showSidebar(htmlOutput);
}
.writeStrInTable(\
{ profit_ratio: $('#profit_ratio').val(), manager_ratio: $('#manager_ratio').val(), ad_ratio: $('#ad_ratio').val() }
var sidebarHTML = '<?!= include('bs'); ?>';
var sidebarHtml = HtmlService.createTemplateFromFile("client");
.setTitle('Цвет текста в ячейке поменялся'));
function showSidebar() {
var htmlTemplate = HtmlService
.createTemplateFromFile('client');
SpreadsheetApp.getUi().showSidebar1(htmlTemplate.evaluate()
.setTitle('Цвет текста в ячейке поменялся'));
}
https://devcenter.novaposhta.ua/docs/services/556d7ccaa0fe4f08e8f7ce43/operations/556d885da0fe4f08e8f7ce46
[20-06-09 12:41:20:541 EEST] Отчет журнала сокращен из-за слишком большого размера. {infoCodes=[], warnings=[], errors=[], errorCodes=[], messageCodes=[], data=[{Postomat=0.0, DescriptionRu=Абазовка (Полтавский р-н, Полтавская обл), Area=71508137-9b87-11de-822f-000c2965ae0e, Delivery7=0, Delivery3=1, SpecialCashCheck=1.0, AreaDescriptionRu=Полтавская, IsBranch=0, Delivery2=0, SettlementTypeDescription=село, Delivery6=0, Conglomerates=null, SettlementTypeDescriptionRu=село, Delivery4=0, CityID=2667, Delivery1=1, Description=Абазівка (Полтавський р-н, Полтавська обл), Ref=fc5f1e3c-928e-11e9-898c-005056b24375, AreaDescription=Полтавська, PreventEntryNewStreetsUser=null, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Delivery5=1}, {Delivery6=1, PreventEntryNewStreetsUser=null, AreaDescriptionRu=Одесская, Description=Авангард, Delivery4=1, SettlementType=563ced11-f210-11e3-8c4a-0050568002cf, Ref=8e1718f5-1972-11e5-add9-005056887b8d, SettlementTypeDescriptionRu=поселок городского типа, Delivery3=1, CityID=1042, IsBranch=0, AreaDescription=Одеська, Area=71508136-9b87-11de-822f-000c2965ae0e, Delivery2=1, SettlementTypeDescription=селище міського типу, Delivery7=0, Conglomerates=null, DescriptionRu=Авангард, Delivery5=1, SpecialCashCheck=1.0, Delivery1=1, Postomat=0.0}, {Postomat=0.0, Delivery2=0, Delivery7=0, Delivery6=0, DescriptionRu=Августиновка, AreaDescription=Запорізька, Area=7150812f-9b87-11de-822f-000c2965ae0e, CityID=2868, Description=Августинівка, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, SettlementTypeDescriptionRu=село, Delivery4=0, Ref=93edc540-9e41-11e9-898c-005056b24375, Delivery3=1, SettlementTypeDescription=село, PreventEntryNewStreetsUser=null, Delivery1=1, SpecialCashCheck=1.0, IsBranch=0, AreaDescriptionRu=Запорожская, Conglomerates=null, Delivery5=1}, {Delivery1=0, Delivery3=0, AreaDescription=Одеська, Ref=9523ea02-7302-11e9-898c-005056b24375, Delivery6=1, Delivery4=1, IsBranch=0, Delivery7=0, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, AreaDescriptionRu=Одесская, Conglomerates=null, SettlementTypeDescriptionRu=село, Delivery2=1, Description=Августівка, Area=71508136-9b87-11de-822f-000c2965ae0e, Delivery5=0, SpecialCashCheck=1.0, DescriptionRu=Августовка, CityID=1734, SettlementTypeDescription=село, Postomat=0.0, PreventEntryNewStreetsUser=null}, {CityID=1337, AreaDescription=Донецька, Delivery1=1, Area=7150812c-9b87-11de-822f-000c2965ae0e, Delivery4=1, DescriptionRu=Авдеевка (Донецкая обл.), Ref=a9522a7e-eaf5-11e7-ba66-005056b2fc3d, SettlementType=563ced10-f210-11e3-8c4a-0050568002cf, SpecialCashCheck=1.0, AreaDescriptionRu=Донецкая, Postomat=0.0, Delivery5=1, IsBranch=0, SettlementTypeDescriptionRu=город, Conglomerates=null, Description=Авдіївка (Донецька обл.), Delivery7=0, Delivery2=1, Delivery3=1, Delivery6=1, SettlementTypeDescription=місто, PreventEntryNewStreetsUser=null}, {Delivery1=1, Delivery3=1, Description=Авдіївка (Сосницький р-н., Чернігівська обл.), SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, IsBranch=0, Delivery2=0, PreventEntryNewStreetsUser=null, DescriptionRu=Авдеевка (Сосницкий р-н., Черниговская обл.), SettlementTypeDescriptionRu=село, Delivery5=1, SpecialCashCheck=1.0, Area=71508140-9b87-11de-822f-000c2965ae0e, AreaDescriptionRu=Черниговская, Ref=e3f238f7-5a94-11e9-a703-005056b24375, Conglomerates=null, SettlementTypeDescription=село, Postomat=0.0, Delivery7=0, Delivery4=0, AreaDescription=Чернігівська, CityID=1550, Delivery6=0}, {SettlementTypeDescriptionRu=село, DescriptionRu=Авиагородок, Postomat=0.0, CityID=5052, Delivery5=1, Conglomerates=null, Delivery1=1, Delivery3=1, SpecialCashCheck=1.0, Delivery6=0, Delivery7=0, SettlementTypeDescription=село, AreaDescription=Запорізька, Delivery2=0, Description=Авіамістечко , SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, PreventEntryNewStreetsUser=null, Delivery4=0, Area=7150812f-9b87-11de-822f-000c2965ae0e, IsBranch=0, Ref=0c134e58-1ab1-11ea-8c15-0025b502a06e, AreaDescriptionRu=Запорожская}, {Delivery4=1, CityID=1140, Delivery2=1, Delivery1=1, Area=7150812b-9b87-11de-822f-000c2965ae0e, SettlementTypeDescription=селище міського типу, Delivery5=1, SettlementTypeDescriptionRu=поселок городского типа, Delivery3=1, Delivery6=1, PreventEntryNewStreetsUser=null, DescriptionRu=Авиаторское, AreaDescriptionRu=Днепропетровская, AreaDescription=Дніпропетровська, Delivery7=0, Ref=d30a9675-7404-11e5-8d8d-005056887b8d, Conglomerates=null, SpecialCashCheck=1.0, SettlementType=563ced11-f210-11e3-8c4a-0050568002cf, Postomat=0.0, Description=Авіаторське, IsBranch=0}, {Delivery2=0, Description=Агаймани, SettlementTypeDescriptionRu=село, Postomat=0.0, Delivery5=1, CityID=3613, Delivery3=1, Delivery1=1, DescriptionRu=Агайманы, AreaDescriptionRu=Херсонская, Conglomerates=null, Delivery6=0, SettlementTypeDescription=село, AreaDescription=Херсонська, PreventEntryNewStreetsUser=null, Delivery7=0, SpecialCashCheck=1.0, IsBranch=0, Area=7150813c-9b87-11de-822f-000c2965ae0e, Ref=f384f3bf-b7a7-11e9-8c22-005056b24375, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Delivery4=0}, {Area=71508129-9b87-11de-822f-000c2965ae0e, Delivery3=1, Delivery2=1, SettlementTypeDescriptionRu=село, Delivery7=0, Conglomerates=null, Postomat=0.0, DescriptionRu=Агрономичное, Delivery6=1, AreaDescription=Вінницька, Delivery4=1, IsBranch=0, SettlementTypeDescription=село, Ref=ebc0eda9-93ec-11e3-b441-0050568002cf, Description=Агрономічне, PreventEntryNewStreetsUser=null, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, CityID=890, AreaDescriptionRu=Винницкая , SpecialCashCheck=1.0, Delivery1=1, Delivery5=1}, {Description=Агрономія, DescriptionRu=Агрономия, Ref=f17dc676-cf44-11e9-b0c5-005056b24375, AreaDescription=Миколаївська, Postomat=0.0, Conglomerates=null, Delivery4=1, Delivery7=0, Delivery1=0, AreaDescriptionRu=Николаевская, IsBranch=0, Delivery5=0, CityID=4150, SettlementTypeDescriptionRu=село, SpecialCashCheck=1.0, SettlementTypeDescription=село, Delivery2=1, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Area=71508135-9b87-11de-822f-000c2965ae0e, Delivery3=0, Delivery6=1, PreventEntryNewStreetsUser=null}, {Area=7150813d-9b87-11de-822f-000c2965ae0e, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Delivery1=0, Ref=67094bdd-9e45-11e9-898c-005056b24375, SettlementTypeDescription=село, Delivery3=0, Delivery7=0, DescriptionRu=Адамполь, Postomat=0.0, PreventEntryNewStreetsUser=null, SpecialCashCheck=1.0, Delivery2=1, Conglomerates=null, SettlementTypeDescriptionRu=село, Description=Адампіль, Delivery4=1, Delivery6=0, AreaDescription=Хмельницька, IsBranch=0, Delivery5=1, AreaDescriptionRu=Хмельницкая, CityID=2889}, {SettlementTypeDescription=село, Description=Аджамка, Delivery4=1, Delivery5=1, AreaDescriptionRu=Кировоградская, Delivery6=0, PreventEntryNewStreetsUser=null, Postomat=0.0, CityID=1188, Delivery7=0, Delivery2=1, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Area=71508132-9b87-11de-822f-000c2965ae0e, IsBranch=0, SpecialCashCheck=1.0, SettlementTypeDescriptionRu=село, DescriptionRu=Аджамка, Conglomerates=null, Delivery1=1, Ref=cc4ca497-d3ce-11e5-8478-005056887b8d, AreaDescription=Кіровоградська, Delivery3=1}, {Delivery7=0, Area=7150813c-9b87-11de-822f-000c2965ae0e, PreventEntryNewStreetsUser=null, AreaDescriptionRu=Херсонская, Delivery1=1, Description=Азовське, SpecialCashCheck=1.0, Conglomerates=null, SettlementTypeDescription=село, AreaDescription=Херсонська, Postomat=0.0, Ref=c1079228-76f9-11e9-898c-005056b24375, IsBranch=0, DescriptionRu=Азовское, CityID=1944, Delivery2=1, Delivery5=1, SettlementTypeDescriptionRu=село, Delivery3=1, SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Delivery6=0, Delivery4=1}, {Conglomerates=null, Postomat=0.0, IsBranch=0, Description=Азовське (Запорізька обл.), Delivery3=1, Area=7150812f-9b87-11de-822f-000c2965ae0e, Delivery4=0, SpecialCashCheck=1.0, Delivery1=1, AreaDescriptionRu=Запорожская, PreventEntryNewStreetsUser=null, AreaDescription=Запорізька, Ref=d30282f8-feee-11e9-91ff-0025b501a04b, Delivery5=1, SettlementTypeDescription=село, SettlementTypeDescriptionRu=село, CityID=5505, Delivery2=0, DescriptionRu=Азовское (Запорожская обл.), SettlementType=563ced13-f210-11e3-8c4a-0050568002cf, Delivery6=0, Delivery7=0}, {Del
https://cloud.yandex.ru/docs/api-design-guide/concepts/pagination
"data": [
{
"Description": "Абазівка (Полтавський р-н, Полтавська обл)",
"DescriptionRu": "Абазовка (Полтавский р-н, Полтавская обл)",
"Ref": "fc5f1e3c-928e-11e9-898c-005056b24375",
"Delivery1": "1",
"Delivery2": "0",
"Delivery3": "1",
"Delivery4": "0",
"Delivery5": "1",
"Delivery6": "0",
"Delivery7": "0",
"Area": "71508137-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "2667",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Полтавська",
"AreaDescriptionRu": "Полтавская"
},
{
"Description": "Авангард",
"DescriptionRu": "Авангард",
"Ref": "8e1718f5-1972-11e5-add9-005056887b8d",
"Delivery1": "1",
"Delivery2": "1",
"Delivery3": "1",
"Delivery4": "1",
"Delivery5": "1",
"Delivery6": "1",
"Delivery7": "0",
"Area": "71508136-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced11-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "1042",
"SettlementTypeDescription": "селище міського типу",
"SettlementTypeDescriptionRu": "поселок городского типа",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Одеська",
"AreaDescriptionRu": "Одесская"
},
{
"Description": "Августинівка",
"DescriptionRu": "Августиновка",
"Ref": "93edc540-9e41-11e9-898c-005056b24375",
"Delivery1": "1",
"Delivery2": "0",
"Delivery3": "1",
"Delivery4": "0",
"Delivery5": "1",
"Delivery6": "0",
"Delivery7": "0",
"Area": "7150812f-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "2868",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Запорізька",
"AreaDescriptionRu": "Запорожская"
},
{
"Description": "Августівка",
"DescriptionRu": "Августовка",
"Ref": "9523ea02-7302-11e9-898c-005056b24375",
"Delivery1": "0",
"Delivery2": "1",
"Delivery3": "0",
"Delivery4": "1",
"Delivery5": "0",
"Delivery6": "1",
"Delivery7": "0",
"Area": "71508136-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "1734",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Одеська",
"AreaDescriptionRu": "Одесская"
},
{
"Description": "Авдіївка (Донецька обл.)",
"DescriptionRu": "Авдеевка (Донецкая обл.)",
"Ref": "a9522a7e-eaf5-11e7-ba66-005056b2fc3d",
"Delivery1": "1",
"Delivery2": "1",
"Delivery3": "1",
"Delivery4": "1",
"Delivery5": "1",
"Delivery6": "1",
"Delivery7": "0",
"Area": "7150812c-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced10-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "1337",
"SettlementTypeDescription": "місто",
"SettlementTypeDescriptionRu": "город",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Донецька",
"AreaDescriptionRu": "Донецкая"
},
{
"Description": "Авдіївка (Сосницький р-н., Чернігівська обл.)",
"DescriptionRu": "Авдеевка (Сосницкий р-н., Черниговская обл.)",
"Ref": "e3f238f7-5a94-11e9-a703-005056b24375",
"Delivery1": "1",
"Delivery2": "0",
"Delivery3": "1",
"Delivery4": "0",
"Delivery5": "1",
"Delivery6": "0",
"Delivery7": "0",
"Area": "71508140-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "1550",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Чернігівська",
"AreaDescriptionRu": "Черниговская"
},
{
"Description": "Авіамістечко ",
"DescriptionRu": "Авиагородок",
"Ref": "0c134e58-1ab1-11ea-8c15-0025b502a06e",
"Delivery1": "1",
"Delivery2": "0",
"Delivery3": "1",
"Delivery4": "0",
"Delivery5": "1",
"Delivery6": "0",
"Delivery7": "0",
"Area": "7150812f-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "5052",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Запорізька",
"AreaDescriptionRu": "Запорожская"
},
{
"Description": "Авіаторське",
"DescriptionRu": "Авиаторское",
"Ref": "d30a9675-7404-11e5-8d8d-005056887b8d",
"Delivery1": "1",
"Delivery2": "1",
"Delivery3": "1",
"Delivery4": "1",
"Delivery5": "1",
"Delivery6": "1",
"Delivery7": "0",
"Area": "7150812b-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced11-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "1140",
"SettlementTypeDescription": "селище міського типу",
"SettlementTypeDescriptionRu": "поселок городского типа",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Дніпропетровська",
"AreaDescriptionRu": "Днепропетровская"
},
{
"Description": "Агаймани",
"DescriptionRu": "Агайманы",
"Ref": "f384f3bf-b7a7-11e9-8c22-005056b24375",
"Delivery1": "1",
"Delivery2": "0",
"Delivery3": "1",
"Delivery4": "0",
"Delivery5": "1",
"Delivery6": "0",
"Delivery7": "0",
"Area": "7150813c-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "3613",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Херсонська",
"AreaDescriptionRu": "Херсонская"
},
{
"Description": "Агрономічне",
"DescriptionRu": "Агрономичное",
"Ref": "ebc0eda9-93ec-11e3-b441-0050568002cf",
"Delivery1": "1",
"Delivery2": "1",
"Delivery3": "1",
"Delivery4": "1",
"Delivery5": "1",
"Delivery6": "1",
"Delivery7": "0",
"Area": "71508129-9b87-11de-822f-000c2965ae0e",
"SettlementType": "563ced13-f210-11e3-8c4a-0050568002cf",
"IsBranch": "0",
"PreventEntryNewStreetsUser": null,
"Conglomerates": null,
"CityID": "890",
"SettlementTypeDescription": "село",
"SettlementTypeDescriptionRu": "село",
"SpecialCashCheck": 1,
"Postomat": 0,
"AreaDescription": "Вінницька",
"AreaDescriptionRu": "Винницкая "
},
{
"Description": "Агрономія",
"DescriptionRu": "Агрономия",
"Ref": "f17dc676-cf44-11e9-b0c5-005056b24375",
"Delivery1": "0",
"Delivery2": "1",
"Delivery3": "0",
"Delivery4": "1",
"Delivery5": "0",
"Delivery6": "1",
Окрашивание в последних строках.