func (VS *Server) seePaymentWorkerGlobal(c *gin.Context) {
	// service, b := VS.getOurService(c, "h_records", "seePaymentWorkerGlobal", "service, b := VS.getOurService")
	// if !b {
	// 	return
	// }
	pID, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	payment := VS.getPaymentByID(c, pID, "h_records", "seePaymentWorkerGlobal", "payment := VS.getPaymentByID")
	user := VS.getUserByID(c, payment.IDWorker, "h_records", "seePaymentWorkerGlobal", "user := VS.getUserByID")
	render(c, gin.H{
		"user":    user,
		"payment": payment,
		// "serviceType": service.TypeID,
	}, "see-payment.html")
}
// Shows the Payment information from inside Global
Shows the Payment information from inside Global
// Shows the Payment information from inside Global
func (VS *Server) seePaymentWorkerGlobal(c *gin.Context) {
	pID, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	payment := VS.getPaymentByID(c, pID, "h_records", "seePaymentWorkerGlobal", "payment := VS.getPaymentByID")
	user := VS.getUserByID(c, payment.IDWorker, "h_records", "seePaymentWorkerGlobal", "user := VS.getUserByID")
	render(c, gin.H{
		"user":    user,
		"payment": payment,
	}, "see-payment.html")
}
func ( VS * Server ) seePaymentWorkerGlobal ( c * gin . Context ) { pID , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } payment := VS . getPaymentByID ( c , pID , " " , " " , " " ) user := VS . getUserByID ( c , payment . IDWorker , " " , " " , " " ) render ( c , gin . H { " " : user , " " : payment , } , " " ) }
Shows the Payment information from inside Global
Shows the Payment information from inside Global
// service, b := VS.getOurService(c, "h_records", "seePaymentWorkerGlobal", "service, b := VS.getOurService") // if !b { // 	return // } // "serviceType": service.TypeID,