-- This program is the last attempt of artificial intelligency with Ada.
-- Elhoim is Copyright (C) 2023 Manuel ; 
--
--   This program is free software; you can redistribute it and/or modify
--   it under the terms of the GNU General Public License as published by
--   the Free Software Foundation; either version 2 of the License, or
--   (at your option) any later version.
--
--   This program is distributed in the hope that it will be useful,
--   but WITHOUT ANY WARRANTY; without even the implied warranty of
--   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--   GNU General Public License for more details.
--
--   You should have received a copy of the GNU General Public License
--   along with this program; if not, write to the Free Software
--   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
--
-- Date := "2023-05-03 13:14:19"
-- Version := "1.0.0b"
with ANSI_Console;
use ANSI_Console;
with Ada.Calendar.Formatting;
use Ada.Calendar.Formatting;
with Ada.Characters.Handling;
use Ada.Characters.Handling;
with Ada.Strings.Wide_Fixed;
use Ada.Strings;
package body Lib.Classe.Accoun is
   
   
   
   procedure Adjust (State : in out Account_State_Type;
		     Date  : in Time;		     
		     Ht_Deal_In : in Fixed_out;
		     TTC_Deal_In : in Fixed_Out;
		     TVA_In : in Fixed_in;
		     Ht_Deal_Out : in Fixed_in;
		     TTC_Deal_Out : in Fixed_in;
		     TVA_Out : in Fixed_Out;
		     Result  : in Fixed_Account) is
   begin
      State.Date := Date;
      State.Ht_Deal_In := HT_Deal_In;
      State.TTC_Deal_In := TTC_Deal_In;
      State.TVA_In := Tva_In;
      State.Ht_Deal_Out := HT_Deal_Out;
      State.TTC_Deal_Out := TTC_Deal_Out;
      State.TVA_Out := Tva_Out;
      State.Result := Result;
   end Adjust;

   
   
end Lib.Classe.Accoun ;