Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
feat: POS Print ticket with response. (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt authored Aug 29, 2023
1 parent 882e39f commit d5aa2e0
Show file tree
Hide file tree
Showing 4 changed files with 393 additions and 37 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adempiere/grpc-api",
"version": "4.9.7",
"version": "4.9.8",
"description": "ADempiere Web write in Javascript for a node service",
"author": "Yamel Senih",
"contributors": [
Expand Down
16 changes: 13 additions & 3 deletions proto/point_of_sales.proto
Original file line number Diff line number Diff line change
Expand Up @@ -597,13 +597,23 @@ message CustomerBankAccount {

// Print Ticket
message PrintTicketRequest {
string pos_uuid = 2;
string order_uuid = 3;
int32 pos_id = 1;
int32 order_id = 2;
int32 invoice_id = 3;
int32 shipment_id = 4;
int32 record_id = 5;
string table_name = 6;
}

// Response after print
message PrintTicketResponse {
string result = 1;
string summary = 1;
bool is_error = 2;
string file_name = 3;
string mime_type = 4;
bytes output_stream = 5;
string result_type = 6;
map<string, string> result_values = 7;
}

// Print Preview Ticket
Expand Down
Loading

0 comments on commit d5aa2e0

Please sign in to comment.