Add Canadian Wholesale Vendor Reference Guide to CRTC binder
New DOCX generator with 8 recommended upstream providers: Fibernetics, Iristel, Flowroute, VoIP.ms, Telnyx, SkySwitch, Distributel, Allstream. Each with services, website, and notes. Wired into CRTC handler Step 6a (generates before eSign pause) and added to binder compiler default sections. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7aec5b23cb
commit
32c1e57c5c
3 changed files with 253 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ DEFAULT_SECTIONS = [
|
|||
"Director Consent(s)",
|
||||
"Share Structure",
|
||||
"Corporate Bylaws",
|
||||
"Wholesale Vendor Reference Guide",
|
||||
"Miscellaneous",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -933,6 +933,20 @@ class CanadaCRTCHandler(BaseServiceHandler):
|
|||
else:
|
||||
LOG.warning("CRTC letter generation failed — will need manual creation")
|
||||
|
||||
# Step 6a: Generate vendor reference guide (included in binder)
|
||||
LOG.info("[Step 6a] Generating wholesale vendor reference guide")
|
||||
try:
|
||||
from scripts.document_gen.templates.crtc_vendor_guide_generator import generate_vendor_guide
|
||||
vendor_guide_path = generate_vendor_guide(
|
||||
entity_name=formation_order.entity_name or f"{formation_order.state_filing_number} B.C. Ltd.",
|
||||
output_path=os.path.join(work_dir, f"vendor_reference_guide_{order_number}.docx"),
|
||||
)
|
||||
if vendor_guide_path:
|
||||
generated_files.append(vendor_guide_path)
|
||||
LOG.info("Vendor guide generated: %s", vendor_guide_path)
|
||||
except Exception as exc:
|
||||
LOG.warning("Vendor guide generation failed (non-fatal): %s", exc)
|
||||
|
||||
# ---------------------------------------------------------- #
|
||||
# Step 6b: eSign pause
|
||||
# Upload the CRTC letter PDF to MinIO, store the object key on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue