devsofttech_hms_ci4/app/Models
DevSoftTech Server 342f54e509 Fix bed number not showing in bill print - add bed_assignment_history fallback
- Use COALESCE to check both bed_master.current_ipd_id and bed_assignment_history
- Join with bed_assignment_history where released_date IS NULL for active beds
- Handles cases where bed is assigned in history but current_ipd_id not set
- Fixes bill print showing blank Bed No when assignment exists in history
2026-06-10 11:47:18 +05:30
..
.gitkeep Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
BankModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
BedAssignmentHistoryModel.php feat: Complete bed management system with transfer and time tracking 2026-06-09 08:39:48 +05:30
BedCategoryModel.php Restore legacy HMS flows and add IPD document master templates 2026-03-24 04:24:19 +05:30
BedMaintenanceLogModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
BedMasterModel.php feat: Complete bed management system with transfer and time tracking 2026-06-09 08:39:48 +05:30
BloodGroupModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
BridgeSyncQueueModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
ClinicalAuditTrailModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
DoctorModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
FinanceBankDepositModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceBankPosSettlementModel.php finance/storestock: implement cash submission audits, bank settlements, and opd payout tracking 2026-04-22 10:53:20 +05:30
FinanceBankReconciliationAuditModel.php finance/storestock: implement cash submission audits, bank settlements, and opd payout tracking 2026-04-22 10:53:20 +05:30
FinanceBankSettlementEntryModel.php Finance bank audit: settlement tab/filter refinements, bank-only selection, and summary metrics 2026-04-21 19:06:16 +05:30
FinanceBankStatementEntryModel.php finance/storestock: implement cash submission audits, bank settlements, and opd payout tracking 2026-04-22 10:53:20 +05:30
FinanceCashTransactionModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceDoctorAgreementModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceDoctorPayoutModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceGrnModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceOutgoingPaymentAllocationModel.php Implement medical store credit payout workflow and optimize payout pool DataTable grouping 2026-04-30 01:42:03 +05:30
FinanceOutgoingPaymentHistoryModel.php Implement medical store credit payout workflow and optimize payout pool DataTable grouping 2026-04-30 01:42:03 +05:30
FinancePayoutRequestAuditModel.php Implement medical store credit payout workflow and optimize payout pool DataTable grouping 2026-04-30 01:42:03 +05:30
FinancePayoutRequestLineModel.php Implement medical store credit payout workflow and optimize payout pool DataTable grouping 2026-04-30 01:42:03 +05:30
FinancePayoutRequestModel.php Implement medical store credit payout workflow and optimize payout pool DataTable grouping 2026-04-30 01:42:03 +05:30
FinancePharmacyBillModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinancePoDocumentModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinancePolicySettingModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinancePurchaseOrderModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceScrollSubmissionItemModel.php finance/storestock: implement cash submission audits, bank settlements, and opd payout tracking 2026-04-22 10:53:20 +05:30
FinanceScrollSubmissionModel.php finance/storestock: implement cash submission audits, bank settlements, and opd payout tracking 2026-04-22 10:53:20 +05:30
FinanceVendorInvoiceModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
FinanceVendorModel.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
HospitalStockCategoryModel.php feat(stock): add modular hospital stock management with dashboard, masters, indents, purchase and reports 2026-04-02 10:28:38 +05:30
HospitalStockItemModel.php feat(stock): add modular hospital stock management with dashboard, masters, indents, purchase and reports 2026-04-02 10:28:38 +05:30
HospitalStockSupplierModel.php feat(stock): add modular hospital stock management with dashboard, masters, indents, purchase and reports 2026-04-02 10:28:38 +05:30
InsuranceModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
InvoiceModel.php Fix billing invoice balance/payment flow and deduction UI 2026-04-01 07:23:29 +05:30
IpdBillingModel.php Fix bed number not showing in bill print - add bed_assignment_history fallback 2026-06-10 11:47:18 +05:30
IpdModel.php feat: Complete bed management system with transfer and time tracking 2026-06-09 08:39:48 +05:30
IpdNursingEntryModel.php Add nursing scan-to-structured workflow and discharge UI polish 2026-03-09 00:12:04 +05:30
ItemIpdModel.php feat(ipd-charges): group delete, sort order, Up/Down buttons, foldable billing panels 2026-04-18 06:56:38 +05:30
ItemModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
MedicalBankModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
MedicalModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
NursingBedsideItemModel.php Add nursing scan-to-structured workflow and discharge UI polish 2026-03-09 00:12:04 +05:30
OpdMedicineModel.php Respect formulation in duplicate medicine report groups 2026-04-17 09:53:02 +05:30
OpdModel.php Fix dashboard and OPD counts for DATETIME appointment_date 2026-04-28 11:23:06 +05:30
OrganizationCaseModel.php Simplify org-case queries to match CI3 pattern 2026-06-05 14:14:22 +05:30
PackageModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
PathLabModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
PatientModel.php Add report panel updates and related billing/discharge enhancements 2026-03-10 02:43:35 +05:30
PaymentModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
RefferModel.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
UserSettings.php Add user-based sidebar auto-hide setting, movable from hospital default 2026-04-28 13:47:46 +05:30
WardModel.php Restore legacy HMS flows and add IPD document master templates 2026-03-24 04:24:19 +05:30