add patient group
This commit is contained in:
@ -46,6 +46,8 @@ import { PharmacyInfoController } from '../controllers/pharmacy/pharmacy_info';
|
||||
import { ItemPriceController } from '../controllers/pharmacy/item_price';
|
||||
import { SellingPricePercentageController } from '../controllers/pharmacy/selling_price_percentage';
|
||||
import { FactorytoSupplierController } from '../controllers/pharmacy/factory_to_supplier';
|
||||
import { PatientGroupController } from '../controllers/patient_group';
|
||||
import { PatientGuarantorController } from '../controllers/patient_guarantor';
|
||||
|
||||
export class RoutePrivate {
|
||||
static setup(app: express.Application) {
|
||||
@ -367,5 +369,19 @@ export class RoutePrivate {
|
||||
app.put('/api/pharmacy/selling-price-percentage/update/:id', SellingPricePercentageController.update)
|
||||
app.delete('/api/pharmacy/selling-price-percentage/delete/:id/:hard', SellingPricePercentageController.delete)
|
||||
app.put('/api/pharmacy/selling-price-percentage/restore/:id', SellingPricePercentageController.restore)
|
||||
|
||||
app.get('/api/patient-group/list', PatientGroupController.list)
|
||||
app.get('/api/patient-group/export', PatientGroupController.export)
|
||||
app.post('/api/patient-group/create', PatientGroupController.create)
|
||||
app.put('/api/patient-group/update/:id', PatientGroupController.update)
|
||||
app.delete('/api/patient-group/delete/:id/:hard', PatientGroupController.delete)
|
||||
app.put('/api/patient-group/restore/:id', PatientGroupController.restore)
|
||||
|
||||
app.get('/api/patient-guarantor/list', PatientGuarantorController.list)
|
||||
app.get('/api/patient-guarantor/export', PatientGuarantorController.export)
|
||||
app.post('/api/patient-guarantor/create', PatientGuarantorController.create)
|
||||
app.put('/api/patient-guarantor/update/:id', PatientGuarantorController.update)
|
||||
app.delete('/api/patient-guarantor/delete/:id/:hard', PatientGuarantorController.delete)
|
||||
app.put('/api/patient-guarantor/restore/:id', PatientGuarantorController.restore)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user