// koseki-fuhyo-web — 画面固有設定（app-core.js が window.SYSTEM_CONFIG を読む）
window.SYSTEM_CONFIG = {
  domains: [
  { id: "fuhyo-requests", label: "附票交付申請", endpoint: "/api/fuhyo-requests",
    cols: [{ key: "receiptNumber", label: "受付番号" }, { key: "applicantName", label: "申請者氏名" }, { key: "requestType", label: "申請種別", badge: true }, { key: "status", label: "状態", badge: true }, { key: "receivedAt", label: "受付日時" }],
    createFields: [{ name: "applicantName", label: "申請者氏名", required: true, placeholder: "山田 太郎" }, { name: "requestType", label: "申請種別", required: true, type: "select", options: ["tohon", "shohon", "jyuki_tohon", "jyuki_shohon", "gaijin_tohon", "identity_proof"] }] },
],
  calc: { title: "戸籍附票 証明手数料の試算", endpoint: "/api/fuhyo/fee", primary: { key: "total", label: "手数料合計", format: "yen" }, fields: [ { key: "certType", label: "証明種別", type: "select", options: ["戸籍の附票の写し","戸籍の附票（除票）の写し"] }, { key: "copies", label: "通数", type: "number", default: 1 }, { key: "postal", label: "郵送", type: "select", options: [ { value: false, label: "なし" }, { value: true, label: "あり" } ] } ] },
};
