Hi, i have problem it said "Can't obtain model's source from models list: 'Modules\Backend\Models\LgxTransaction', when preparing: SELECT a.id, a.invoice, a.id_package, " this is my code:
__
if ($invoice != "") {
$where = "WHERE invoice = '".$invoice."'";
}else{
$where = "";
}
$query = ("
SELECT
a.id,
a.invoice,
a.id_package,
a.email,
a.kode_voucher,
a.harga,
a.periode,
a.method,
a.status,
a.start_date,
a.end_date,
a.create_login,
a.create_date,
b.caption as nama_package,
b.keterangan
FROM \Modules\Backend\Models\lgxTransaction a
LEFT JOIN \Modules\Backend\Models\LgxMPackage b ON a.id_package = b.id
$where
ORDER BY a.id DESC
limit 100
");
$row = $this->modelsManager->executeQuery($query);
if($row->count() > 0) return $row;
__