Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

print: a reprint of an issued document cannot say it is a copy - no first-print / copy flag in the print data (BG ОРИГИНАЛ / КОПИЕ)

オープン
#7,908 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java
領域
api, backend

調査の方向性

Start by tracing the live Print endpoint, POST /services/print/<Entity>, and the Snapshot function mentioned in the report; compare their print data flow to determine where render state or a request flag could be exposed to templates. The issue offers two possible approaches but leaves the behavior and design to choose. Done means a template can distinguish an original from a copy for the relevant print flows.

索引モデルが issue の本文から書いたものです。

説明

What happens

A BG paper invoice must carry ОРИГИНАЛ on its first print and КОПИЕ on every print after that (ППЗДДС чл. 78 ал. 1 т. 2; copies are not numbered; the e-mailed PDF is always an original). A .print template can only print what the data gives it, and on v14.88.0 (and v14.90.0) neither the document page's Print (POST /services/print/<Entity>?lang=..&template=.. with the feeder's payload) nor the snapshot mint passes anything that says whether this render is the first one. The print-template catalogue (#7755 / PR #7763) versions templates, not renders, and the <Doc>Copy snapshot rows (function: Snapshot) record the issue-time mint but are not consulted by the live Print.

So the module can print ОРИГИНАЛ always (BusinessIntents base-sales-invoices#74 does) but never КОПИЕ (base-sales-invoices#80).

Ask

One of:

  1. A render flag in the print data: {{print.copy}} (boolean) - false for the snapshot mint and for the first live Print of a record, true once the record has been printed/minted before - so a template writes <if source="print.copy"><text>КОПИЕ</text></if> and the reverse for ОРИГИНАЛ. The record's snapshot child (function: Snapshot) is a natural "has it been rendered" source.
  2. Or: a Print -> Original / Copy choice on the document page, passing a copy=true request flag the template can read (the reviewer accepted "two explicit print buttons" as most BG systems do).

Filed from BusinessIntents base-sales-invoices#80 (pre-train wave 2026-10-17); the module keeps #80 open on this.

主要言語
Java
スター
278
フォーク
97
平均マージ
18時間 57分
マージ済み PR(30日)
249

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-dirigible/dirigible のほかの issue

eclipse-dirigible/dirigible の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。