pdfgen/lib/pdf-fill-data/src/Entergy.map.json
2025-08-16 07:28:01 +00:00

188 lines
13 KiB
JSON

{
"constants": {
"usage_table_y_ill": 328,
"usage_table_font_size": 7,
"remit_x_left": 420,
"remit_x_right": 563,
"first_page_x": 54,
"bar_chart_x_ill": 65,
"bar_chart_y_ill": 236,
"bar_chart_width": 214,
"bar_chart_height": 58,
"bar_chart_current_month_index": 5,
"bar_chart_label_y_offset": 10,
"bar_chart_label_font_size": 7,
"bar_chart_label_ifont": 0,
"bar_chart_bar_width_ratio": 0.4,
"color_bar_default_r": "112/256", "color_bar_default_g": "111/256", "color_bar_default_b": "108/256",
"color_bar_current_r": 0, "color_bar_current_g": 0, "color_bar_current_b": 0,
"donut_chart_center_x_ill": 475,
"donut_chart_center_y_ill": 296,
"donut_chart_radius": 86.5,
"donut_chart_thickness": 20,
"donut_text_x": 500,
"donut_small_font_size": 9,
"color_energy_r": "0 / 256",
"color_energy_g": "153 / 256",
"color_energy_b": "218 / 256",
"color_fuel_r": "76 / 256",
"color_fuel_g": "184 / 256",
"color_fuel_b": "73 / 256",
"color_other_r": "244 / 256",
"color_other_g": "130 / 256",
"color_other_b": "33 / 256",
"color_total_r": "220 / 256",
"color_total_g": "125 / 256",
"color_total_b": "67 / 256",
"page2_left_col_x": 54,
"page2_detail_col_x": 218,
"page2_right_col_x": 345,
"page2_charges_start_y": 94,
"page2_line_gap": 9,
"page2_section_gap": 15,
"page2_total_gap": 1,
"page2_font_size": 8,
"page2_total_font_size": 9,
"page2_header_font_size": 7,
"page2_meter_read_y": 23,
"page2_meter_read_data_y": 41,
"page2_header_right_col_x": 572,
"bar_chart_legend_y_ill": 229,
"bar_chart_legend_item1_x_ill": 63,
"bar_chart_legend_item2_x_ill": 103
},
"donut_chart_segments": [
{
"value_field": "energy_charges_total",
"color": ["color_energy_r", "color_energy_g", "color_energy_b"],
"label": "Energy Charges"
},
{
"value_field": "fuel_charges_total",
"color": ["color_fuel_r", "color_fuel_g", "color_fuel_b"],
"label": "Fuel Charges"
},
{
"value_field": "other_charges_total",
"color": ["color_other_r", "color_other_g", "color_other_b"],
"label": "Other Charges & Credits"
}
],
"map": [
{
"ipage": 0,
"field": "chart_legend_year_previous",
"x_ill": "bar_chart_legend_item1_x_ill",
"y_ill": "bar_chart_legend_y_ill",
"size": 7,
"ifont": 1,
"cR": "color_bar_default_r", "cG": "color_bar_default_g", "cB": "color_bar_default_b"
},
{
"ipage": 0,
"field": "chart_legend_year_current",
"x_ill": "bar_chart_legend_item2_x_ill",
"y_ill": "bar_chart_legend_y_ill",
"size": 7,
"ifont": 1
},
{ "ipage": 0, "field": "Hi ,customer_name,", "x_ill": "first_page_x", "y_ill": 112, "size": 34, "ifont": 1 },
{ "ipage": 0, "field": "service_location_line1", "x_ill": 215, "y_ill": 55, "size": 7, "ifont": 0 },
{ "ipage": 0, "field": "service_location_line2", "x_ill": 215, "y_ill": 64, "size": 7, "ifont": 0 },
{
"ipage": 0,
"field": "<style font='1'><style bg='0.96,0.929,0.8' padding='3'>Account # <style font='2'>account_number</style></style> | Invoice # <style font='2'>invoice_number</style></style>",
"x_ill": "first_page_x",
"y_ill": 165,
"size": 9
},
{
"ipage": 0,
"field": "<style font='1'>Mail Date <style font='2'>mail_date</style> | QPC <style font='2'>qpc_code</style> | Cycle <style font='2'>cycle_number</style></style>",
"x_ill": "first_page_x",
"y_ill": 180.7,
"size": 9
},
{ "ipage": 0, "field": "amount_due_by_value", "x_ill": 575, "y_ill": 114, "size": 36, "ifont": 1, "align": "right", "draw_method": "drawFancyAmount" },
{ "ipage": 0, "field": "Amount Due by,amount_due_by_date", "x_ill": 575, "y_ill": 153, "size": 9, "ifont": 1, "align": "right" },
{
"ipage": 0,
"field": "billing_period_formatted",
"x_ill": "61",
"y_ill": "usage_table_y_ill",
"size": "usage_table_font_size",
"ifont": 1
},
{ "ipage": 0, "field": "billing_days", "x_ill": 160, "y_ill": "usage_table_y_ill", "size": "usage_table_font_size", "ifont": 1, "align": "center" },
{ "ipage": 0, "field": "kwh_used_formatted", "x_ill": 213, "y_ill": "usage_table_y_ill", "size": "usage_table_font_size", "ifont": 1, "align": "center" },
{ "ipage": 0, "field": "avg_kwh_per_day", "x_ill": 282, "y_ill": "usage_table_y_ill", "size": "usage_table_font_size", "ifont": 1, "align": "center" },
{ "ipage": 0, "field": "remit_customer_address", "x_ill": 67, "y_ill": 678, "size": 9, "ifont": 0, "lineHeight": 10 },
{ "ipage": 0, "field": "Account #", "x_ill": 403, "y_ill": 551, "size": 9, "ifont": 1, "align": "right" },
{ "ipage": 0, "field": "Invoice #", "x_ill": 403, "y_ill": 559, "size": 9, "ifont": 1, "align": "right" },
{ "ipage": 0, "field": "QPC", "x_ill": 403, "y_ill": 567, "size": 9, "ifont": 1, "align": "right" },
{ "ipage": 0, "field": "remit_account_number", "x_ill": 411, "y_ill": 551, "size": 9, "ifont": 2 },
{ "ipage": 0, "field": "remit_invoice_number", "x_ill": 411, "y_ill": 559, "size": 9, "ifont": 2 },
{ "ipage": 0, "field": "qpc_code", "x_ill": 411, "y_ill": 567, "size": 9, "ifont": 2 },
{ "ipage": 0, "field": "Amount Due by, [NEWLINE], remit_amount_due_by_date", "x_ill": "remit_x_left", "y_ill": 598, "size": 9, "ifont": 1, "lineHeight": 10, "align": "center" },
{ "ipage": 0, "field": "$,remit_amount_due_by_value", "x_ill": "remit_x_right", "y_ill": 604, "size": 9, "ifont": 1, "align": "right", "noSpace": true },
{ "ipage": 0, "field": "Amount Due After, [NEWLINE], remit_amount_due_after_date", "x_ill": "remit_x_left", "y_ill": 630, "size": 9, "ifont": 1, "lineHeight": 10, "align": "center" },
{ "ipage": 0, "field": "$,amount_due_after_value", "x_ill": "remit_x_right", "y_ill": 636, "size": 9, "ifont": 1, "align": "right", "noSpace": true },
{ "ipage": 0, "field": "barcode_number", "x_ill": 307, "y_ill": 765, "size": 12, "ifont": 3, "align": "center" },
{ "ipage": 0, "field": "Energy Charges", "x_ill": "donut_text_x", "y_ill": "160 + 86", "size": "donut_small_font_size", "ifont": 1, "cR": "color_energy_r", "cG": "color_energy_g", "cB": "color_energy_b", "align": "right" },
{ "ipage": 0, "field": "$,energy_charges_total", "x_ill": "donut_text_x", "y_ill": "172 + 86", "size": 15, "ifont": 1, "cR": "color_energy_r", "cG": "color_energy_g", "cB": "color_energy_b", "noSpace": true, "align": "right" },
{ "ipage": 0, "field": "Fuel Charges", "x_ill": "donut_text_x", "y_ill": "200 + 80", "size": "donut_small_font_size", "ifont": 1, "cR": "color_fuel_r", "cG": "color_fuel_g", "cB": "color_fuel_b", "align": "right" },
{ "ipage": 0, "field": "$,fuel_charges_total", "x_ill": "donut_text_x", "y_ill": "212 + 80", "size": 15, "ifont": 1, "cR": "color_fuel_r", "cG": "color_fuel_g", "cB": "color_fuel_b", "noSpace": true, "align": "right" },
{ "ipage": 0, "field": "Other Charges,", "x_ill": "donut_text_x", "y_ill": "240 + 76", "size": "donut_small_font_size", "ifont": 1, "cR": "color_other_r", "cG": "color_other_g", "cB": "color_other_b", "align": "right" },
{ "ipage": 0, "field": "& Credits", "x_ill": "donut_text_x", "y_ill": "240 + 86", "size": "donut_small_font_size", "ifont": 1, "cR": "color_other_r", "cG": "color_other_g", "cB": "color_other_b", "align": "right" },
{ "ipage": 0, "field": "$,other_charges_total", "x_ill": "donut_text_x", "y_ill": "252 + 86", "size": 15, "ifont": 1, "cR": "color_other_r", "cG": "color_other_g", "cB": "color_other_b", "noSpace": true, "align": "right" },
{ "ipage": 1, "field": "energy_charge", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap", "size": "page2_font_size", "ifont": 0, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "federal_eac_rider_detail", "x_ill": "page2_detail_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 2", "size": 7, "ifont": 0, "bgColor": ["1", "1", "1"] },
{ "ipage": 1, "field": "federal_eac_rider", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 2", "size": "page2_font_size", "ifont": 0, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "energy_charges_total", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 3", "size": "page2_font_size", "ifont": 1, "cR": "color_energy_r", "cG": "color_energy_g", "cB": "color_energy_b", "align": "right", "noSpace": true },
{ "ipage": 1, "field": "fuel_adjustment_detail", "x_ill": "page2_detail_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 4 + page2_section_gap", "size": 7, "ifont": 0, "bgColor": ["1", "1", "1"] },
{ "ipage": 1, "field": "fuel_charges_total", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 4 + page2_section_gap", "size": "page2_font_size", "ifont": 0, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "fuel_charges_total", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 5 + page2_section_gap", "size": "page2_font_size", "ifont": 1, "cR": "color_fuel_r", "cG": "color_fuel_g", "cB": "color_fuel_b", "align": "right", "noSpace": true },
{ "ipage": 1, "field": "storm_restoration_offset", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 7 + page2_section_gap * 2", "size": "page2_font_size", "ifont": 0, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "storm_restoration_charge", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 8 + page2_section_gap * 2", "size": "page2_font_size", "ifont": 0, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "other_charges_total", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 9 + page2_section_gap * 2", "size": "page2_font_size", "ifont": 1, "cR": "color_other_r", "cG": "color_other_g", "cB": "color_other_b", "align": "right", "noSpace": true },
{ "ipage": 1, "field": "current_month_energy_charges", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 10 + page2_section_gap * 3", "size": "page2_total_font_size", "ifont": 1, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "deposit", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 11 + page2_section_gap * 3 + page2_total_gap", "size": "page2_total_font_size", "ifont": 0, "cR": "color_total_r", "cG": "color_total_g", "cB": "color_total_b", "align": "right", "noSpace": true },
{ "ipage": 1, "field": "connect_fee", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 12 + page2_section_gap * 3 + page2_total_gap * 2", "size": "page2_total_font_size", "ifont": 0, "cR": "color_total_r", "cG": "color_total_g", "cB": "color_total_b", "align": "right", "noSpace": true },
{ "ipage": 1, "field": "amount_due_by_value", "x_ill": "page2_right_col_x", "y_ill": "page2_charges_start_y + page2_line_gap * 13 + page2_section_gap * 3 + page2_total_gap * 5", "size": "page2_total_font_size", "ifont": 1, "align": "right", "noSpace": true },
{ "ipage": 1, "field": "(Contract , meter_reading_header, )", "x_ill": 118, "y_ill": "page2_meter_read_y", "size": "page2_header_font_size", "ifont": 1, "cR": "1", "cG": "1", "cB": "1" },
{ "ipage": 1, "field": "meter_number_header", "x_ill": 255, "y_ill": "page2_meter_read_y", "size": "page2_header_font_size", "ifont": 1, "cR": "1", "cG": "1", "cB": "1" },
{ "ipage": 1, "field": "rate_header", "x_ill": 366, "y_ill": "page2_meter_read_y", "size": "page2_header_font_size", "ifont": 1, "cR": "1", "cG": "1", "cB": "1" },
{ "ipage": 1, "field": "billing_days", "x_ill": 550, "y_ill": "page2_meter_read_y", "size": "page2_header_font_size", "ifont": 1, "align": "center", "cR": "1", "cG": "1", "cB": "1" },
{ "ipage": 1, "field": "current_reading_text", "x_ill": 148, "y_ill": "page2_meter_read_data_y", "size": "page2_header_font_size", "ifont": 0 },
{ "ipage": 1, "field": "current_meter_reading_value", "x_ill": 318, "y_ill": "page2_meter_read_data_y", "size": "page2_header_font_size", "ifont": 1, "align": "right" },
{ "ipage": 1, "field": "previous_reading_text", "x_ill": 421, "y_ill": "page2_meter_read_data_y", "size": "page2_header_font_size", "ifont": 0 },
{ "ipage": 1, "field": "- , previous_meter_reading_value", "x_ill": "page2_header_right_col_x", "y_ill": "page2_meter_read_data_y", "size": "page2_header_font_size", "ifont": 0, "align": "right" },
{ "ipage": 1, "field": "kwh_used_formatted", "x_ill": "page2_header_right_col_x", "y_ill": "page2_meter_read_data_y + 17", "size": "page2_header_font_size", "ifont": 1, "align": "right" }
]
}