func (VS *Server) showRecordsPaymentsWorkerService(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showRecordsPaymentsWorkerService", "service, _ := VS.getOurService")
	if !b {
		return
	}
	user := VS.getUserFomCookie(c, "h_worker", "showRecordsPaymentsWorkerService", "user := v.getUserFomCookie")
	payments := VS.getAllPaymentsFromSpecificWorkerAndService(c, user.ID, service.ID, "handlers_worker", "showRecordsPayments", "payments := v.getAllPaymentsFromSpecificWorker")
	paymentsHTML := VS.toViewPayments(c, payments)
	JSON, err := json.Marshal(paymentsHTML)
	VS.checkOperation(c, "h_worker", "showRecordsPaymentsWorkerService", "JSON, err := json.Marshal(paymentsHTML)", err)
	render(c, gin.H{
		"payments":    paymentsHTML,
		"JSON":        string(JSON),
		"fromService": true,
		"serviceType": service.TypeID,
	}, "w-records-payments.html")
}
// Shows the Payments from the specific worker from the service
Shows the Payments from the specific worker from the service
// Shows the Payments from the specific worker from the service
func (VS *Server) showRecordsPaymentsWorkerService(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showRecordsPaymentsWorkerService", "service, _ := VS.getOurService")
	if !b {
		return
	}
	user := VS.getUserFomCookie(c, "h_worker", "showRecordsPaymentsWorkerService", "user := v.getUserFomCookie")
	payments := VS.getAllPaymentsFromSpecificWorkerAndService(c, user.ID, service.ID, "handlers_worker", "showRecordsPayments", "payments := v.getAllPaymentsFromSpecificWorker")
	paymentsHTML := VS.toViewPayments(c, payments)
	JSON, err := json.Marshal(paymentsHTML)
	VS.checkOperation(c, "h_worker", "showRecordsPaymentsWorkerService", "JSON, err := json.Marshal(paymentsHTML)", err)
	render(c, gin.H{
		"payments":    paymentsHTML,
		"JSON":        string(JSON),
		"fromService": true,
		"serviceType": service.TypeID,
	}, "w-records-payments.html")
}
func ( VS * Server ) showRecordsPaymentsWorkerService ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } user := VS . getUserFomCookie ( c , " " , " " , " " ) payments := VS . getAllPaymentsFromSpecificWorkerAndService ( c , user . ID , service . ID , " " , " " , " " ) paymentsHTML := VS . toViewPayments ( c , payments ) JSON , err := json . Marshal ( paymentsHTML ) VS . checkOperation ( c , " " , " " , " " , err ) render ( c , gin . H { " " : paymentsHTML , " " : string ( JSON ) , " " : true , " " : service . TypeID , } , " " ) }
Shows the Payments from the specific worker from the service
Shows the Payments from the specific worker from the service