| | | 1 | | @model OzonDomains.Models.OzonClient |
| | | 2 | | @{ |
| | 0 | 3 | | var client = Model!; |
| | 0 | 4 | | ViewData["Title"] = $"Клиент — {client.Name}"; |
| | 0 | 5 | | Layout = "~/Views/Shared/_Layout.cshtml"; |
| | | 6 | | } |
| | | 7 | | |
| | | 8 | | <link rel="stylesheet" href="~/css/Studio2/OzonClients/ozon-clients-form.css" asp-append-version="true"/> |
| | | 9 | | |
| | 0 | 10 | | @await Html.PartialAsync("_BsxGridShell") |
| | | 11 | | |
| | | 12 | | <div class="container py-3 oc-form-page bsx-surface"> |
| | | 13 | | <a asp-action="Index" class="oc-form-back mb-3 d-inline-flex"> |
| | | 14 | | <i class="fas fa-arrow-left"></i>К списку клиентов |
| | | 15 | | </a> |
| | | 16 | | |
| | | 17 | | <div class="oc-form-hero"> |
| | 0 | 18 | | <h1><i class="fas fa-store me-2 text-primary"></i>@client.Name</h1> |
| | 0 | 19 | | <div class="subtitle">Краткая карточка клиента · ID #@client.Id</div> |
| | | 20 | | </div> |
| | | 21 | | |
| | | 22 | | <div class="oc-form-card"> |
| | | 23 | | <div class="oc-form-card-header"> |
| | | 24 | | <h2><i class="fas fa-info-circle me-2 text-muted"></i>Основные данные</h2> |
| | 0 | 25 | | <a asp-action="Edit" asp-route-id="@client.Id" class="btn btn-outline-primary btn-sm"> |
| | | 26 | | <i class="fas fa-edit me-1"></i>Редактировать |
| | | 27 | | </a> |
| | | 28 | | </div> |
| | | 29 | | <div class="oc-info-grid"> |
| | | 30 | | <div class="oc-info-card"> |
| | 0 | 31 | | <div class="oc-info-row"><span class="oc-info-label">Тип:</span>@client.ClientType</div> |
| | 0 | 32 | | <div class="oc-info-row"><span class="oc-info-label">Валюта:</span>@client.CurrencyCode</div> |
| | 0 | 33 | | <div class="oc-info-row"><span class="oc-info-label">ИНН:</span>@(client.INNCode ?? "—")</div> |
| | 0 | 34 | | <div class="oc-info-row"><span class="oc-info-label">Склад 1С:</span>@(client.WarehouseName ?? "—")</div |
| | | 35 | | </div> |
| | | 36 | | <div class="oc-info-card"> |
| | 0 | 37 | | <div class="oc-info-row"><span class="oc-info-label">Client ID:</span>@(client.DecryptClientId ?? "—")</ |
| | | 38 | | <div class="oc-info-row"> |
| | | 39 | | <span class="oc-info-label">API Key:</span> |
| | 0 | 40 | | @if (!string.IsNullOrEmpty(client.DecryptApiKey)) |
| | | 41 | | { |
| | | 42 | | <span class="oc-api-key--masked">••••••••</span> |
| | | 43 | | } |
| | | 44 | | else |
| | | 45 | | { |
| | | 46 | | <span>—</span> |
| | | 47 | | } |
| | | 48 | | </div> |
| | | 49 | | </div> |
| | | 50 | | </div> |
| | | 51 | | <p class="oc-field-hint mb-0 mt-3"> |
| | | 52 | | Полная настройка API, роли и данные продавца Ozon — на странице |
| | 0 | 53 | | <a asp-action="Edit" asp-route-id="@client.Id">редактирования</a>. |
| | | 54 | | </p> |
| | | 55 | | </div> |
| | | 56 | | </div> |