finalize the receipt
This commit is contained in:
		
							parent
							
								
									0860bcecf5
								
							
						
					
					
						commit
						a37e9240bb
					
				
					 1 changed files with 14 additions and 1 deletions
				
			
		|  | @ -81,7 +81,7 @@ public class receipt { | |||
| 		return(content); | ||||
| 	}; | ||||
| 	 | ||||
|     public static String headers() { | ||||
|     private static String headers() { | ||||
|         /* Generate the headers.  | ||||
|         */ | ||||
|          | ||||
|  | @ -165,4 +165,17 @@ public class receipt { | |||
| 		return(data.get("payment")); | ||||
| 	}; | ||||
| 
 | ||||
| 	private static String footer() { | ||||
| 		data.put("footer", "Thank you for shopping with us. Have a good day. "); // POC. must replace | ||||
| 		refresh(); | ||||
| 
 | ||||
| 		return(data.get("footer")); | ||||
| 	} | ||||
| 
 | ||||
| 	public static String finish() { | ||||
| 		footer(); | ||||
| 		refresh(); | ||||
| 		return(content); | ||||
| 	} | ||||
|      | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue