func (VS *Server) seePaymentWorkerService(c *gin.Context) {
	service, b := VS.getOurService(c, "h_records", "seePaymentWorkerService", "service, b := VS.getOurService")
	if !b {
		return
	}
	pID, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	payment := VS.getPaymentByID(c, pID, "h_records", "seePaymentWorkerService", "payment := VS.getPaymentByID")
	user := VS.getUserByID(c, payment.IDWorker, "h_records", "seePaymentWorkerService", "user := VS.getUserByID")
	render(c, gin.H{
		"user":        user,
		"payment":     payment,
		"fromService": true,
		"serviceType": service.TypeID,
	}, "see-payment.html")
}
// Shows the Payment information from inside a Service
Shows the Payment information from inside a Service
// Shows the Payment information from inside a Service
func (VS *Server) seePaymentWorkerService(c *gin.Context) {
	service, b := VS.getOurService(c, "h_records", "seePaymentWorkerService", "service, b := VS.getOurService")
	if !b {
		return
	}
	pID, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	payment := VS.getPaymentByID(c, pID, "h_records", "seePaymentWorkerService", "payment := VS.getPaymentByID")
	user := VS.getUserByID(c, payment.IDWorker, "h_records", "seePaymentWorkerService", "user := VS.getUserByID")
	render(c, gin.H{
		"user":        user,
		"payment":     payment,
		"fromService": true,
		"serviceType": service.TypeID,
	}, "see-payment.html")
}
func ( VS * Server ) seePaymentWorkerService ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } 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 , " " : true , " " : service . TypeID , } , " " ) }
Shows the Payment information from inside a Service
Shows the Payment information from inside a Service