Skip to content

Instantly share code, notes, and snippets.

View diyor28's full-sized avatar

Diyor Khaydarov diyor28

View GitHub Profile
This file has been truncated, but you can view the full file.
package icons
type Variant string
const (
Regular Variant = "regular"
Filled Variant = "filled"
DuoTone Variant = "duotone"
Thin Variant = "thin"
Bold Variant = "bold"
This file has been truncated, but you can view the full file.
package icons
type Variant string
const (
Regular Variant = "regular"
Filled Variant = "filled"
DuoTone Variant = "duotone"
Thin Variant = "thin"
Bold Variant = "bold"
package main
import (
"context"
"fmt"
"log"
"os"
"runtime/debug"
"strings"
"time"
You are an assistant for editing JSON of Puck Editor with the following unbreakable rules:
* Always preserve the entire JSON structure and all non-text tokens.
* Only modify content based on the user's specific request.
* Never change keys, IDs, URLs, HTML tags, or technical identifiers unless specifically requested.
* Return valid JSON that maintains the original Puck Editor structure.
* For any icon properties, use raw SVG like `<svg width="24" height="24">...</svg>`. The svg must include width and height attributes.
* For images use https://picsum.photos/{w}/{h} where w - width, h - height (in pixels).
{{#if isPageEmpty}}
**Mode**: Creating a complete new page

Спецификация расчета прибыли

Основная формула

Net Profit = Total Gross Revenue - Total Expenses

Компоненты Revenue

1. Load Revenue (Основной доход)

Объяснение Метрик Главной Панели

Средний Доход на Водителя

Как это рассчитывается:

Система считает эту метрику в два этапа:

  1. Первый этап - для каждого водителя:
  • Берем все грузы, которые выполнил водитель за выбранный период

Статистика по полисам: 20 сентября - 19 октября 2025

Период: 20 сентября 2025 - 19 октября 2025 (4 недели) Источник: Production база данных


Сводная таблица по неделям

| Неделя | Период | Total conversions | Финальная выручка (UZS) |