0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rex0220 印刷屋プラグイン 一覧画面の合計欄

Last updated at Posted at 2025-02-28

rex0220 印刷屋プラグイン 一覧画面のPDF作成に、合計欄を追加してみます。

概要

2025-02-28_20h41_42.png

  • 選択したレコードの集計

2025-02-28_20h43_18.png

印刷屋プラグイン設定

  • 合計欄を追加する場合、OPTに "footer","Y" を指定
   OPT("title","案件情報 " & TODAY() ,
       "pagination","Y",
       "perPage","10",
       "footer","Y"
    ),
  • 合計は、文字列で4番目に 「"YEN(RECS_SUM(プラン費用))"」 を指定
  • RECS_SUM 関数は、各レコードの合計を算出
 ARRAY("プラン費用", YEN(プラン費用), "value-right","YEN(RECS_SUM(プラン費用))"),

2025-02-28_20h39_33.png

2025-02-28_20h45_23.png

.pcraft-table-row {
  height: 60px;
}
RECS_HTML(
    OPT("title","案件情報 " & TODAY() ,
       "pagination","Y",
       "perPage","10",
       "footer","Y"
    ),
    ARRAY("#",$rseq+1),
    顧客名,部署名, 案件名,
    ARRAY("確度",確度,"value-center"),
    ARRAY("プラン費用", YEN(プラン費用), "value-right","YEN(RECS_SUM(プラン費用))"),
    ARRAY("オプション費用", YEN(オプション費用), "value-right","YEN(RECS_SUM(オプション費用))"),
    ARRAY("合計費用", YEN(合計費用), "value-right","FIXED(RECS_SUM(合計費用))")
)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?