-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSplitTheBill.m
33 lines (29 loc) · 1.13 KB
/
SplitTheBill.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
function SplitTheBill()
% @mainpage SplitTheBill
% @section intro Introduction
% @b SortBills is a Matlab based program for sorting the bills that are
% produced with the OpenIris reservation system (https://openiris.io).
% @section features Key Features
% - loading excel spreadsheets
% - sorting
% - export to multiple sheets, bills
% @section description Description
% Automatization of billing
% Copyright (C) 2019-2020 Ilya Belevich, University of Helsinki (ilya.belevich @ helsinki.fi)
% The MIT License (https://opensource.org/licenses/MIT)
% Updates:
% 2022.1: fixed extraction of products that were added to the booking slots
% turn off warnings
warning('off', 'MATLAB:ui:javaframe:PropertyToBeRemoved');
if ~isdeployed
func_name='SplitTheBill.m';
func_dir=which(func_name);
func_dir=fileparts(func_dir);
addpath(func_dir);
addpath(fullfile(func_dir, 'Tools'));
% addpath(fullfile(func_dir, 'Classes'));
end
version = 'ver. 2023.04 (07.12.2023)';
if isdeployed; version = [version ' Academic version']; end
model = Model(); % initialize the model
controller = Controller(model, version); % initialize controller