<?php

// Vehicle and business expense report renderers (Pro): receipt storage
// helper, image-size filter, the two printable report pages with their
// coversheet HTML, and the pdf.js batch receipt printing panel.
//
// MOVED OUT OF paintops.php 2026-07-24: these pages drop out of PHP into
// raw HTML template sections INSIDE the premium-only block. The Freemius
// premium build re-emits the MAIN file (and only the main file) through
// its code printer, which fails on inline HTML inside a premium block
// and wrote paintops.php out as 0 bytes. Include files are copied into
// the premium build verbatim and premium-stripped in the free build, so
// this code is safe here and the main file stays pure PHP.
// Plugin Check / PHPCS: category-level exclusions with reasons.
// phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- PaintOps keeps its records in its own custom tables (built by paintops_table()); $wpdb is the supported API for plugin-owned tables, there is no core CRUD alternative, and results are request-scoped.
// phpcs:disable WordPress.DateTime.RestrictedFunctions.date_date -- date() here is deliberately paired with current_time() timestamps: reports run on the site's local calendar day.
// phpcs:disable WordPress.Security.NonceVerification.Recommended -- read-only GET routing and filter parameters (which report and year to show); every state-changing handler verifies a nonce before writing.
if ( !defined( 'ABSPATH' ) ) {
    exit;
}
// end of the premium-only block