feat: purchase-plans update
This commit is contained in:
@@ -5,6 +5,7 @@ export interface ColumnConfig {
|
||||
label: string;
|
||||
group: string;
|
||||
editable: boolean;
|
||||
partialEdit?: boolean;
|
||||
width?: string;
|
||||
required?: boolean;
|
||||
}
|
||||
@@ -21,10 +22,10 @@ export const COLUMN_GROUPS = [
|
||||
|
||||
export const ALL_COLUMNS: ColumnConfig[] = [
|
||||
// Basic
|
||||
{ id: "checkbox", label: "", group: "basic", editable: false, required: true },
|
||||
{ id: "number", label: "№", group: "basic", editable: false, required: true },
|
||||
{ id: "status_deal", label: "Статус сделки", group: "basic", editable: true },
|
||||
{ id: "status_post", label: "Статус поста", group: "basic", editable: true },
|
||||
{ id: "checkbox", label: "Чекбокс", group: "basic", editable: false, required: true },
|
||||
{ id: "number", label: "Номер", group: "basic", editable: false, required: true },
|
||||
{ id: "status_deal", label: "Статус сделки", group: "basic", editable: true, partialEdit: true },
|
||||
{ id: "status_post", label: "Статус поста", group: "basic", editable: true, partialEdit: true },
|
||||
|
||||
// Content
|
||||
{ id: "creative", label: "Креатив", group: "content", editable: true },
|
||||
@@ -32,9 +33,9 @@ export const ALL_COLUMNS: ColumnConfig[] = [
|
||||
{ id: "post_link", label: "Ссылка на пост", group: "content", editable: false },
|
||||
|
||||
// Finance
|
||||
{ id: "cost", label: "Стоимость", group: "finance", editable: true },
|
||||
{ id: "cost", label: "Стоимость", group: "finance", editable: true, partialEdit: true },
|
||||
{ id: "cost_before", label: "Стоимость до торга", group: "finance", editable: true },
|
||||
{ id: "cost_format", label: "Формат оплаты", group: "finance", editable: true },
|
||||
{ id: "cost_format", label: "Формат оплаты", group: "finance", editable: true, partialEdit: true },
|
||||
{ id: "placement_type", label: "Тип закупа", group: "finance", editable: true },
|
||||
{ id: "discount", label: "% скидки", group: "finance", editable: false },
|
||||
{ id: "payment_date", label: "Дата оплаты", group: "finance", editable: true },
|
||||
@@ -54,7 +55,7 @@ export const ALL_COLUMNS: ColumnConfig[] = [
|
||||
|
||||
// Calculated
|
||||
{ id: "cpf", label: "CPF", group: "calculated", editable: false },
|
||||
{ id: "cpm", label: "CPM", group: "calculated", editable: false },
|
||||
{ id: "cpm", label: "CPM", group: "calculated", editable: true, partialEdit: true },
|
||||
{ id: "conversion_24h", label: "Конверсия 24ч", group: "calculated", editable: false },
|
||||
{ id: "conversion_48h", label: "Конверсия 48ч", group: "calculated", editable: false },
|
||||
{ id: "conversion_total", label: "Конверсия общ.", group: "calculated", editable: false },
|
||||
|
||||
Reference in New Issue
Block a user