fixing generic name

This commit is contained in:
Rayhan Ardiansyah
2026-03-06 13:58:35 +07:00
parent 2d8256f6da
commit b147334368

View File

@ -48,6 +48,7 @@ import { SellingPricePercentageController } from '../controllers/pharmacy/sellin
import { FactorytoSupplierController } from '../controllers/pharmacy/factory_to_supplier';
import { PatientGroupController } from '../controllers/patient_group';
import { PatientGuarantorController } from '../controllers/patient_guarantor';
import { GenericNameController } from '../controllers/pharmacy/generic_name';
export class RoutePrivate {
static setup(app: express.Application) {
@ -311,12 +312,12 @@ export class RoutePrivate {
app.delete('/api/pharmacy/item-class-detail/delete/:id/:hard', ItemClassDetailController.delete)
app.put('/api/pharmacy/item-class-detail/restore/:id', ItemClassDetailController.restore)
app.get('/api/pharmacy/generic-name/list', ItemClassDetailController.list)
app.get('/api/pharmacy/generic-name/export', ItemClassDetailController.export)
app.post('/api/pharmacy/generic-name/create', ItemClassDetailController.create)
app.put('/api/pharmacy/generic-name/update/:id', ItemClassDetailController.update)
app.delete('/api/pharmacy/generic-name/delete/:id/:hard', ItemClassDetailController.delete)
app.put('/api/pharmacy/generic-name/restore/:id', ItemClassDetailController.restore)
app.get('/api/pharmacy/generic-name/list', GenericNameController.list)
app.get('/api/pharmacy/generic-name/export', GenericNameController.export)
app.post('/api/pharmacy/generic-name/create', GenericNameController.create)
app.put('/api/pharmacy/generic-name/update/:id', GenericNameController.update)
app.delete('/api/pharmacy/generic-name/delete/:id/:hard', GenericNameController.delete)
app.put('/api/pharmacy/generic-name/restore/:id', GenericNameController.restore)
app.get('/api/pharmacy/factory/list', FactoryController.list)
app.get('/api/pharmacy/factory/export', FactoryController.export)