Examples of Facture


Examples of net.fqsc.inscriptions.model.facturation.Facture

  }

  public Facture createFacture()
  {

    Facture facture = null;
    final Factures factures = (Factures) this.domainModel
        .getEntry("Factures");

    try
    {
View Full Code Here

Examples of net.fqsc.inscriptions.model.facturation.Facture

  {

    Validate.argNotNull(cart, "Cart");
    Validate.argNotNull(personne, "Personne");

    final Facture facture = this.createFacture();
    Inscription inscription = null;

    for (final Iterator i = cart.getCart().iterator(); i.hasNext();)
    {
View Full Code Here

Examples of net.fqsc.inscriptions.model.facturation.Facture

   
    final Course course = (Course) evenement.getCourses().getList().get(0);
   
    final Inscription inscription = (Inscription) course.getInscriptions().getList().get(0);
   
    final Facture facture = this.facturationCtrl.createFacture();
    this.facturationCtrl.addFactureItem(facture, inscription, 10.0);
    this.facturationCtrl.addFactureItem(facture, inscription, 20.0);
    this.facturationCtrl.addFactureItem(facture, inscription, 30.0);
   
   
View Full Code Here

Examples of net.fqsc.inscriptions.model.facturation.Facture

  }
 
  @Test
  public final void testAjoutTransaction(){
   
    final Facture facture = this.facturationCtrl.createFacture();
   
    final Personnes personnes = this.identificationCtrl.getPersonnes();
    final Personne personne = (Personne)personnes.getList().get(0);
   
    this.facturationCtrl.createTransaction(personne, facture, 160.0);
View Full Code Here

Examples of org.xrace.model.facturation.Facture

      @Override
      public void onSubmit()
      {
        try
        {
          Facture facture = null;

          if (GestionFacturesForm.this.getSearchBy() != null)
          {

            if (GestionFacturesForm.this.getKeyword() != null)
View Full Code Here

Examples of org.xrace.model.facturation.Facture

    cart.add(new CartItemArticle(personneJDoe, new Article(choixAmeneAmi)),
        getRabaisEvenementService());
    cart.add(new CartItemArticle(personneJDoe, new Article(choixBBQ)),
        getRabaisEvenementService());

    Facture facture = getFactureService().createFacture(personneJDoe, cart);
    getTransactionService().createTransaction(personneJDoe, facture);
  }
View Full Code Here

Examples of org.xrace.model.facturation.Facture

    for (final Article article : approved)
    {
      final Personne personneInscrite = article.getPersonne();
      final FactureItem factureItem = factureItemService
          .findByArticle(article);
      Facture facture;
      Transaction transaction;
      Personne personneTransaction;

      if (factureItem != null)
      {
        facture = factureItem.getFacture();
        transaction = facture.getTransaction();
      }
      else
      {
        facture = null;
        transaction = null;
View Full Code Here

Examples of org.xrace.model.facturation.Facture

    cart.add(cartItemInscription1, getRabaisEvenementService());

    /*cart.add(new CartItemInscription(tarif1, personneCompteAdmin,
        getInscriptionService()), getRabaisEvenementService());*/

    final Facture fact = getFactureService().createFacture(
        personneCompteAdmin, cart);
    getTransactionService().createTransaction(personneInscriteSurPlace,
        fact);

    ValidationException vex = new ValidationException();
View Full Code Here

Examples of org.xrace.model.facturation.Facture

            .getDateFin());

    for (Transaction transaction : transactions)
    {
      row = sheet.createRow((short) ++i);
      Facture facture = transaction.getFacture();
      Double totalTransaction = facture.getTotal();

      row.createCell((short) 0).setCellValue(totalTransaction);
      row.createCell((short) 1).setCellValue(
          new HSSFRichTextString(transaction.getId().toString()));
      row.createCell((short) 2).setCellValue(
          new HSSFRichTextString(transaction.getAccountType()));
      HSSFUtils.createDateTimeCell(wb, row, 3, transaction
          .getDateCreated());

      /**
       * Set qui indique si la transaction est liée à un secteur. Si le secteur est dans
       * le set, on sait que la transaction est liée à ce secteur.
       */
      Set<Secteur> setFactureLieASecteur = new HashSet<Secteur>();

      for (FactureItem factureItem : facture.getFactureItems())
      {
        if (factureItem.getInscription() != null)
        {
          Inscription inscription = factureItem.getInscription();
          Course course = inscription.getCourse();
View Full Code Here

Examples of org.xrace.model.facturation.Facture

  {
    super();
    this.timeRemaining = timeRemaining;
    this.transaction = transaction;

    Facture facture = transaction.getFacture();

    for (FactureItem factureItem : facture.getFactureItems())
    {
      if (factureItem.getInscription() != null)
      {
        Evenement evenement = factureItem.getInscription().getCourse()
            .getEvenement();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.