func (VS *Server) showRecordsItemsWorker(c *gin.Context) {
	user := VS.getUserFomCookie(c, "h_worker", "showRecordsItemsWorker", "user := v.getUserFomCookie")
	itemsSeelToWorker := VS.getAllSalesFromSpecificWorker(c, user.ID, "h_worker", "showRecordsItemsWorker", "itemsSeelToWorker := VS.getAllSalesFromSpecificWorker")
	itemsSeelToWorker = revertSales(itemsSeelToWorker)
	materialsHTML := VS.salesToHTML(c, itemsSeelToWorker)
	JSON, err := json.Marshal(materialsHTML)
	VS.checkOperation(c, "h_worker", "showRecordsItemsWorker", "JSON, err := json.Marshal(materialsHTML)", err)
	render(c, gin.H{
		"JSON": string(JSON),
	}, "w-records-items.html")
}
// Shows all the Items made or produce for the specific worker
Shows all the Items made or produce for the specific worker
// Shows all the Items made or produce for the specific worker
func (VS *Server) showRecordsItemsWorker(c *gin.Context) {
	user := VS.getUserFomCookie(c, "h_worker", "showRecordsItemsWorker", "user := v.getUserFomCookie")
	itemsSeelToWorker := VS.getAllSalesFromSpecificWorker(c, user.ID, "h_worker", "showRecordsItemsWorker", "itemsSeelToWorker := VS.getAllSalesFromSpecificWorker")
	itemsSeelToWorker = revertSales(itemsSeelToWorker)
	materialsHTML := VS.salesToHTML(c, itemsSeelToWorker)
	JSON, err := json.Marshal(materialsHTML)
	VS.checkOperation(c, "h_worker", "showRecordsItemsWorker", "JSON, err := json.Marshal(materialsHTML)", err)
	render(c, gin.H{
		"JSON": string(JSON),
	}, "w-records-items.html")
}
func ( VS * Server ) showRecordsItemsWorker ( c * gin . Context ) { user := VS . getUserFomCookie ( c , " " , " " , " " ) itemsSeelToWorker := VS . getAllSalesFromSpecificWorker ( c , user . ID , " " , " " , " " ) itemsSeelToWorker = revertSales ( itemsSeelToWorker ) materialsHTML := VS . salesToHTML ( c , itemsSeelToWorker ) JSON , err := json . Marshal ( materialsHTML ) VS . checkOperation ( c , " " , " " , " " , err ) render ( c , gin . H { " " : string ( JSON ) , } , " " ) }
Shows all the Items made or produce for the specific worker
Shows all the Items made or produce for the specific worker