{"version":"1.0","type":"rich","title":"ImportForm File","description":"This example shows a PHP data import workflow for handling CSV or Excel files, processing them into customer and collection records. The code uses the Yii2 framework's `Model` class and file validation rules to accept uploads up to 10MB, then branches between two import sources (Omnisure and Paylink) based on a type field. It saves the uploaded file to a local data directory, parses rows, creates or updates customer records, and reconciles collection entries by setting status codes. The implementation relies on Yii2’s ActiveRecord patterns and custom import methods from the `Omnisure` and `Paylink` models.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-8a1e5e02c38dddb70a7a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}