@extends('layouts.app') @section('title', 'Import E-Learning History') @section('content') @include('partials.flash')
Migrate completed e-learning from a previous LMS. Each row marks a course as completed, issues the certificate, and updates the learner’s (and their service’s) compliance automatically.
Runs in the background (queue). Learners are enrolled if needed, marked completed, issued a certificate, and their compliance recalculates automatically. A queue worker (php artisan queue:work) must be running — check Background Jobs.
Required fields
email — the learner’s sign-in emailcourse — the course code, slug, or exact titleOptional fields
completed_at — completion date (e.g. 2025-06-15); defaults to todayscore — final score % (0–100); defaults to 100Example row
{ "email": "worker@site.com", "course": "MAND-001", "completed_at": "2025-06-15", "score": 92 }
Rows with an unknown email or course are skipped — you’ll see the reasons in the completion notification. Re-running is safe (it updates the same record).