3#include "../core/ram_payer.hpp"
4#include <eosio/asset.hpp>
5#include <eosio/binary_extension.hpp>
6#include <eosio/eosio.hpp>
7#include <eosio/time.hpp>
9#include "../consts.hpp"
10#include "../core/utils.hpp"
67 eosio::binary_extension<eosio::asset>
target;
78 uint64_t
by_branch()
const {
return braname.value; }
82typedef eosio::multi_index<
84 eosio::indexed_by<
"bybranch"_n, eosio::const_mem_fun<kuperiod, uint64_t, &kuperiod::by_branch>>,
85 eosio::indexed_by<
"bybrperiod"_n, eosio::const_mem_fun<kuperiod, uint128_t, &kuperiod::by_branch_period>>>
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Итог прогона списания обеспечительной части по кооперативному участку Стола заказов (задача 99D-21,...
Definition: table_marketplace_periods.hpp:33
eosio::asset turnover
T — стоимость заказов прогона
Definition: table_marketplace_periods.hpp:38
eosio::asset membership
М — членский взнос участка за прогон
Definition: table_marketplace_periods.hpp:46
eosio::asset memos
СЗ — служебные записки сверх плана за месяц
Definition: table_marketplace_periods.hpp:41
eosio::binary_extension< eosio::asset > planned_target
ЦП — цель плановых расходов на следующий месяц
Definition: table_marketplace_periods.hpp:66
eosio::asset secured
C — собранная обеспечительная часть прогона
Definition: table_marketplace_periods.hpp:39
eosio::asset expenses
РК — расходы участка за прогон
Definition: table_marketplace_periods.hpp:45
eosio::name braname
кооперативный участок
Definition: table_marketplace_periods.hpp:35
uint64_t rate_initiator
r_и — доля инициатору
Definition: table_marketplace_periods.hpp:55
eosio::binary_extension< eosio::asset > target
T — цель резерва участка: плановые + право получателей помощи
Definition: table_marketplace_periods.hpp:67
uint64_t by_branch() const
Definition: table_marketplace_periods.hpp:78
eosio::asset initiator_amount
И — инициатору участка
Definition: table_marketplace_periods.hpp:49
uint64_t rate_branch
r_ку — доля стоимости заказа участку (HUNDR_PERCENTS = 100 %)
Definition: table_marketplace_periods.hpp:53
eosio::binary_extension< eosio::asset > target_prev
F_пр — собранная часть цели прошлой строки
Definition: table_marketplace_periods.hpp:68
eosio::asset return_amount
В — пайщикам обратно
Definition: table_marketplace_periods.hpp:50
eosio::binary_extension< uint64_t > rate_social
r_с — доля стоимости заказа в этот фонд
Definition: table_marketplace_periods.hpp:75
uint64_t rate_funds
r_ф — доля в фонды
Definition: table_marketplace_periods.hpp:54
eosio::asset aid_paid
МП — материальная помощь, выплаченная за месяц
Definition: table_marketplace_periods.hpp:42
uint64_t primary_key() const
Definition: table_marketplace_periods.hpp:77
eosio::asset aid_unpaid
Н — невыплаченная часть прошлого резерва; по формуле 99D-34 — ноль
Definition: table_marketplace_periods.hpp:44
eosio::binary_extension< eosio::asset > target_funded
F — собранная часть цели этой строки
Definition: table_marketplace_periods.hpp:69
eosio::asset aid_reserve
ЦМ — накопленное право получателей помощи на следующий месяц (до 99D-34 — Р, сумма строк резерва)
Definition: table_marketplace_periods.hpp:43
eosio::binary_extension< eosio::asset > social_amount
СФ — в фонд социально-экономического взаимодействия и социального обеспечения по участку
Definition: table_marketplace_periods.hpp:74
eosio::asset deficit
Д — дефицит участка
Definition: table_marketplace_periods.hpp:51
eosio::asset funds_amount
Ф — в фонды накопления кооператива
Definition: table_marketplace_periods.hpp:47
uint32_t period
номер прогона: год × 12 + месяц по часовому поясу кооператива (даёт ИСТОК)
Definition: table_marketplace_periods.hpp:36
eosio::asset planned
ПР — плановые расходы участка за месяц
Definition: table_marketplace_periods.hpp:40
uint128_t by_branch_period() const
Definition: table_marketplace_periods.hpp:79
eosio::asset branch_amount
У — участку на расходы
Definition: table_marketplace_periods.hpp:48
eosio::time_point_sec closed_at
время расчёта
Definition: table_marketplace_periods.hpp:61
uint64_t id
суррогатный ключ (scope coopname)
Definition: table_marketplace_periods.hpp:34
eosio::multi_index< "kuperiods"_n, kuperiod, eosio::indexed_by<"bybranch"_n, eosio::const_mem_fun< kuperiod, uint64_t, &kuperiod::by_branch > >, eosio::indexed_by<"bybrperiod"_n, eosio::const_mem_fun< kuperiod, uint128_t, &kuperiod::by_branch_period > > > kuperiods_index
Definition: table_marketplace_periods.hpp:86
RAM_PAYER_CLASS(kuperiod, contract)
static uint128_t combine_ids(const uint64_t &x, const uint64_t &y)
Definition: utils.hpp:7