16 lines
557 B
C++
16 lines
557 B
C++
#include <iostream>
|
|
|
|
#include "include/printer.h"
|
|
|
|
void print_tickets(vector<ticket_t> tickets) {
|
|
for (ticket_t t : tickets) {
|
|
cout << "/------+-------\n"
|
|
"|Ticket| id: " << t.id << "\n"
|
|
"+------/ title: " << t.title << "\n"
|
|
"| description: " << t.description << "\n"
|
|
"| status: " << t.status << "\n"
|
|
"| created at: " << t.created_at << "\n"
|
|
"| updated at: " << t.updated_at << "\n"
|
|
"\\--------------" << endl;
|
|
}
|
|
} |