Copyright change
This commit is contained in:
parent
f8df6ea06d
commit
3cf80f9a18
|
@ -7,7 +7,7 @@
|
|||
<key>BaseLibrary.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// BaseLibrary.h
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
// CommandBase.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
//
|
||||
// FacadeClient.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CommandCallbacks.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Reachability.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Ejecutador.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// FacadeBase.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// FacadeClient.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Parser.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ParserDictionary.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 17/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 17/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ParserDefault.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 11/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 11/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// UtilsIos.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 26/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 26/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// UtilsNumbers.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 11/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 11/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ModelBase.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
Localizable.strings
|
||||
BaseLibrary
|
||||
|
||||
Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
Created by Verdnatura on 4/3/16.
|
||||
Copyright © 2016 Verdnatura. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
Localizable.strings
|
||||
BaseLibrary
|
||||
|
||||
Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
Created by Verdnatura on 4/3/16.
|
||||
Copyright © 2016 Verdnatura. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
Localizable.strings
|
||||
BaseLibrary
|
||||
|
||||
Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
Created by Verdnatura on 4/3/16.
|
||||
Copyright © 2016 Verdnatura. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
Localizable.strings
|
||||
BaseLibrary
|
||||
|
||||
Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
Created by Verdnatura on 4/3/16.
|
||||
Copyright © 2016 Verdnatura. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// MyView.swift
|
||||
// BaseLibrary
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// BaseLibraryTests.swift
|
||||
// BaseLibraryTests
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
|
|
@ -225,6 +225,8 @@
|
|||
A6F581561C6B50AE0003D27F /* CeldaPrecios.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6F581551C6B50AE0003D27F /* CeldaPrecios.swift */; };
|
||||
A6F581581C6B6AF50003D27F /* DatosCompra.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6F581571C6B6AF50003D27F /* DatosCompra.swift */; };
|
||||
A6F5815A1C6B76BA0003D27F /* CmdCrearOrder.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6F581591C6B76BA0003D27F /* CmdCrearOrder.swift */; };
|
||||
EB6BE2B720D118AC00DB6694 /* CmdEliminarPendiente.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB6BE2B620D118AC00DB6694 /* CmdEliminarPendiente.swift */; };
|
||||
EB6BE2BA20D11B9100DB6694 /* ParserPending.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB6BE2B920D11B9100DB6694 /* ParserPending.swift */; };
|
||||
EBF69B4A20CE82490015D1D8 /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EBF69B4920CE82440015D1D8 /* Roboto-Light.ttf */; };
|
||||
EBF69B4C20CE82530015D1D8 /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EBF69B4B20CE824F0015D1D8 /* Roboto-Bold.ttf */; };
|
||||
EBF69B4E20CE82620015D1D8 /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EBF69B4D20CE825D0015D1D8 /* Roboto-Regular.ttf */; };
|
||||
|
@ -518,6 +520,8 @@
|
|||
A6F581571C6B6AF50003D27F /* DatosCompra.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DatosCompra.swift; path = Model/DatosCompra.swift; sourceTree = "<group>"; };
|
||||
A6F581591C6B76BA0003D27F /* CmdCrearOrder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CmdCrearOrder.swift; path = Command/CmdCrearOrder.swift; sourceTree = "<group>"; };
|
||||
D88084E26A228A358E419BD7 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
EB6BE2B620D118AC00DB6694 /* CmdEliminarPendiente.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CmdEliminarPendiente.swift; sourceTree = "<group>"; };
|
||||
EB6BE2B920D11B9100DB6694 /* ParserPending.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParserPending.swift; sourceTree = "<group>"; };
|
||||
EBF69B4920CE82440015D1D8 /* Roboto-Light.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Light.ttf"; sourceTree = "<group>"; };
|
||||
EBF69B4B20CE824F0015D1D8 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
||||
EBF69B4D20CE825D0015D1D8 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Regular.ttf"; sourceTree = "<group>"; };
|
||||
|
@ -701,6 +705,7 @@
|
|||
A66EDF211C897284008EF663 /* ParserTicketRecepcion.swift */,
|
||||
A66EDF271C897661008EF663 /* ParserArrayTicketRecepcion.swift */,
|
||||
A64EC3AA1E8CE58B00B7166A /* ParserTicketRecepcionLinea.swift */,
|
||||
EB6BE2B920D11B9100DB6694 /* ParserPending.swift */,
|
||||
);
|
||||
name = Parser;
|
||||
sourceTree = "<group>";
|
||||
|
@ -1018,6 +1023,7 @@
|
|||
A6BABFE91C3416310082BADE /* CommandBaseVentas.swift */,
|
||||
A66EDF1B1C896FE1008EF663 /* CmdObtenerPedidos.swift */,
|
||||
A64EC3AD1E8D082C00B7166A /* CmdCheckMovimientos.swift */,
|
||||
EB6BE2B620D118AC00DB6694 /* CmdEliminarPendiente.swift */,
|
||||
);
|
||||
name = Command;
|
||||
sourceTree = "<group>";
|
||||
|
@ -1374,6 +1380,7 @@
|
|||
A66EDF281C897661008EF663 /* ParserArrayTicketRecepcion.swift in Sources */,
|
||||
A66EDF1E1C89709B008EF663 /* TicketRecepcion.swift in Sources */,
|
||||
A679D2901C8ED3EC0035CD77 /* DialogAgencias.swift in Sources */,
|
||||
EB6BE2BA20D11B9100DB6694 /* ParserPending.swift in Sources */,
|
||||
A66FEA121C84AF9400189AE4 /* ViewChangePassword.swift in Sources */,
|
||||
A68095E91C7C3D3E00F3283C /* ViewNavegador.swift in Sources */,
|
||||
A69CEDBB1C3A65D900482F9B /* ParserClienteVentas.swift in Sources */,
|
||||
|
@ -1382,6 +1389,7 @@
|
|||
A699684A1C8D8DD100C73440 /* ViewLineasPedido.swift in Sources */,
|
||||
A69935E71C510CEF00A94281 /* ParserOrderResumen.swift in Sources */,
|
||||
A6AEC0271CABE75A00807AA3 /* UIImageViewAsyncVentas.swift in Sources */,
|
||||
EB6BE2B720D118AC00DB6694 /* CmdEliminarPendiente.swift in Sources */,
|
||||
A67499C71C7AEA2B007E2B5A /* AlertRows.swift in Sources */,
|
||||
A69935E91C510F2200A94281 /* CmdObtenerPedidosPendientes.swift in Sources */,
|
||||
A6957DF81C8457DB000A2219 /* ViewAccount.swift in Sources */,
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<key>Verdnaturaventas.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@
|
|||
// AlertAgency.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 19/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 19/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertBase.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 19/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 19/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertCambioPedido.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 22/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 22/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertCambios.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 11/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 11/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertEmailModificado.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 3/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 3/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertErrorPassword.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 3/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 3/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertItemCarrito.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 25/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 25/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertNoArticulos.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 25/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 25/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertPasswordCambiado.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 3/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 3/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertPreciosRecalculados.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 22/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 22/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertRate.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 8/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 8/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertRows.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 22/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 22/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertStock.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 8/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 8/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AlertVaciarCarrito.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 25/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 25/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AppDelegate.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Enrique Blasco Blanquer on 11/6/18.
|
||||
// Copyright © 2018 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Copyright © 2018 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaArticulo.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 27/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 27/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaArticuloTags.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 1/8/17.
|
||||
// Copyright © 2017 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 1/8/17.
|
||||
// Copyright © 2017 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaBoton.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaCarrito.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 8/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 8/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaConsignatario.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 21/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 21/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaDobleString.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 26/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 26/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaImageTitle.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 26/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 26/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaCarrito.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 8/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 8/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaPrecioRecalculado.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 17/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 17/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaPrecios.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 10/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 10/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaString.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 18/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 18/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CeldaTicketRecibido.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/3/17.
|
||||
// Copyright © 2017 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/3/17.
|
||||
// Copyright © 2017 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// CmdEliminarPendiente.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Enrique Blasco Blanquer on 13/6/18.
|
||||
// Copyright © 2018 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class CmdEliminarPendiente:CommandBaseVentas {
|
||||
|
||||
|
||||
var orderid: NSNumber?
|
||||
var status:Bool = false
|
||||
|
||||
init(orderid: NSNumber){
|
||||
super.init()
|
||||
self.orderid = orderid
|
||||
self.errorMessage = NSLocalizedString("error_pedidos_pendientes", comment: "")
|
||||
}
|
||||
|
||||
override func execute() throws {
|
||||
status = try ventas.eliminarPendiente(orderid!)
|
||||
}
|
||||
|
||||
}
|
|
@ -2,8 +2,8 @@
|
|||
// CmdBuscarArticulos.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 18/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 18/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdBuscarClientes.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 18/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 18/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdCheckMovimientos.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/3/17.
|
||||
// Copyright © 2017 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/3/17.
|
||||
// Copyright © 2017 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdCrearOrder.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 10/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 10/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdLogin.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdModificarCliente.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdModificarPassword.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 1/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 1/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerAgencias.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 18/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 18/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerArticuloVenta.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerClienteById.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 18/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 18/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerCreditoRiesgo.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 23/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 23/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerDatosPasarBanco.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 23/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 23/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerPedidosRealizados.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerPedidosPendientes.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 21/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 21/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerStock.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 28/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 28/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdObtenerTipos.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 27/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 27/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdRecalcularPrecios.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 17/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 17/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdRecuperarPedido.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 16/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 16/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdSplitOrder.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 23/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 23/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdTransactionEnd.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 23/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 23/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CmdVerificarAgencia.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 17/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 17/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CommandBase.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ControllerArticulo.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 8/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 8/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ControllerPedido.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 20/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 20/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ControllerPreferences.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 11/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 11/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CardImage.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 20/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 20/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CardView.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 20/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 20/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// CircleLabel.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 9/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 9/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
@ -20,4 +20,4 @@ class CircleLabel: UILabel {
|
|||
layer.borderWidth = borderWidth
|
||||
//layer.borderColor = borderColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// itemTag.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 2/8/17.
|
||||
// Copyright © 2017 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 2/8/17.
|
||||
// Copyright © 2017 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// FileManager.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 28/3/17.
|
||||
// Copyright © 2017 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 28/3/17.
|
||||
// Copyright © 2017 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// TransitionManager.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 29/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 29/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// UIImageViewAsyncVentas.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ViewAgencias.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 18/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 18/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
@ -61,9 +61,8 @@ class DialogAgencias: MyViewVentas, UITableViewDelegate, UITableViewDataSource {
|
|||
handlerFinish: {
|
||||
self.vistas = cmd.vistas!
|
||||
self.agencias = cmd.agencias!
|
||||
self.tablaAgencias.reloadData()
|
||||
self.showProgress(false)
|
||||
self.inicializado = true
|
||||
self.clearViews()
|
||||
|
||||
},
|
||||
handlerRetry: {
|
||||
self.obtenerAgencias()
|
||||
|
@ -76,6 +75,22 @@ class DialogAgencias: MyViewVentas, UITableViewDelegate, UITableViewDataSource {
|
|||
|
||||
}
|
||||
|
||||
func clearViews(){
|
||||
var fAgencias = Array<Agencia>()
|
||||
var cont = 0
|
||||
for vista in vistas {
|
||||
fAgencias = agencias.filter{$0.Vista == vista.vista_id!}
|
||||
if (fAgencias.count) == 1 {
|
||||
vistas[cont].vista = "\(NSLocalizedString("reparto", comment: "")) \(fAgencias[0].Agencia!)"
|
||||
vistas[cont].primary = true
|
||||
}
|
||||
cont += 1
|
||||
}
|
||||
self.tablaAgencias.reloadData()
|
||||
self.showProgress(false)
|
||||
self.inicializado = true
|
||||
}
|
||||
|
||||
@IBAction func clickVista(_ sender: UITapGestureRecognizer) {
|
||||
vista = nil
|
||||
agenciasSeleccionadas = []
|
||||
|
@ -142,10 +157,16 @@ class DialogAgencias: MyViewVentas, UITableViewDelegate, UITableViewDataSource {
|
|||
|
||||
if(vista == nil)
|
||||
{
|
||||
vista = vistas[indexPath.row]
|
||||
generateAgency()
|
||||
tablaAgencias.reloadData()
|
||||
setTitle()
|
||||
if vistas[indexPath.row].primary!{
|
||||
aplication.pedido?.agencia = agencias.filter{$0.Vista == vistas[indexPath.row].vista_id!}[0]
|
||||
self.navigationController?.popViewController(animated: true)
|
||||
}else{
|
||||
vista = vistas[indexPath.row]
|
||||
generateAgency()
|
||||
tablaAgencias.reloadData()
|
||||
setTitle()
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// ViewCalendar.swift
|
||||
//
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 13/1/16.
|
||||
// Created by Verdnatura on 13/1/16.
|
||||
//
|
||||
//
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ViewConsignatarios.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 21/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 21/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// DialogFinalizarPedido.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 25/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 25/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// DialogPagarDeuda.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 7/3/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 7/3/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ViewPrecios.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 9/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 9/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// DialogFinalizarPedido.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 23/2/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 23/2/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Commands.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
@ -77,4 +77,5 @@ class Commands: NSObject {
|
|||
static let imprimir_ticket = "imprimir_ticket"
|
||||
|
||||
static let check_movimientos = "check_movimientos"
|
||||
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// FacadeVentas.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
@ -44,6 +44,11 @@ class FacadeVentas: FacadeBase {
|
|||
return try Execute(ParserOrderResumen(), command: Commands.obtener_orders_activas_cliente, args: cliente) as! Array<OrderResumen>
|
||||
}
|
||||
|
||||
func eliminarPendiente(_ orderId: NSNumber) throws -> Bool
|
||||
{
|
||||
return try Execute(ParserPending(), command: Commands.borrar_order, args: orderId) as! Bool
|
||||
}
|
||||
|
||||
func BuscarTipos(_ cadena: String, agencia: NSNumber, consignatario: NSNumber, fecha: String, reino: NSNumber) throws -> Array<Tipo>
|
||||
{
|
||||
return try Execute(ParserTipo(), command: Commands.buscar_tipos, args: cadena as AnyObject, agencia, consignatario, fecha as AnyObject, reino) as! Array<Tipo>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// FacadeClient.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 30/12/15.
|
||||
// Copyright © 2015 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 30/12/15.
|
||||
// Copyright © 2015 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// SecurityFacade.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
<string>Verdnatura</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
|
@ -24,7 +26,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.1.0</string>
|
||||
<string>1.0.5</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
@ -64,8 +66,6 @@
|
|||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string></string>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
|
|
@ -319,7 +319,7 @@
|
|||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wpn-Qt-7HE">
|
||||
<rect key="frame" x="15" y="0.0" width="290" height="29.5"/>
|
||||
<rect key="frame" x="15" y="0.0" width="290" height="30"/>
|
||||
<fontDescription key="fontDescription" name="Roboto-Regular" family="Roboto" pointSize="20"/>
|
||||
<color key="textColor" red="0.62860941889999999" green="0.62909907099999995" blue="0.62868529559999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
@ -555,7 +555,7 @@
|
|||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="Nuh-dI-YbJ" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="3567" y="-1813"/>
|
||||
<point key="canvasLocation" x="3480" y="-1942"/>
|
||||
</scene>
|
||||
<!--Dialog Agencias-->
|
||||
<scene sceneID="zBJ-pe-2bq">
|
||||
|
@ -605,7 +605,7 @@
|
|||
</connections>
|
||||
</tapGestureRecognizer>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="3737" y="-918"/>
|
||||
<point key="canvasLocation" x="3745" y="-1277"/>
|
||||
</scene>
|
||||
<!--Dialog Consignatarios-->
|
||||
<scene sceneID="9wM-DD-Rme">
|
||||
|
@ -1059,8 +1059,15 @@
|
|||
<constraint firstItem="3Jj-7j-Ddi" firstAttribute="top" secondItem="aCg-YM-8hn" secondAttribute="bottom" constant="35" id="nNe-K1-rCz"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<navigationItem key="navigationItem" id="TVX-3G-r7F"/>
|
||||
<navigationItem key="navigationItem" id="TVX-3G-r7F">
|
||||
<barButtonItem key="rightBarButtonItem" title="Edit" id="xhW-LG-Njm">
|
||||
<connections>
|
||||
<action selector="showEditing:" destination="F8L-Zc-UwR" id="HfY-AY-6Pe"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
</navigationItem>
|
||||
<connections>
|
||||
<outlet property="editButton" destination="xhW-LG-Njm" id="c05-hk-0Vj"/>
|
||||
<outlet property="progressBar" destination="kwo-ry-C75" id="tjf-ql-Vfe"/>
|
||||
<outlet property="tableOrders" destination="3Jj-7j-Ddi" id="e04-qP-S6X"/>
|
||||
<segue destination="ATa-0L-zc3" kind="push" identifier="segueResumen" id="U4A-tR-mnz"/>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Agencia.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 14/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 14/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ArticuloVentas.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 14/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 14/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ClienteVentas.swift
|
||||
// Verdnaturaventas
|
||||
//
|
||||
// Created by Nelo Sanchez Gomiz on 4/1/16.
|
||||
// Copyright © 2016 Nelo Sanchez Gomiz. All rights reserved.
|
||||
// Created by Verdnatura on 4/1/16.
|
||||
// Copyright © 2016 Verdnatura. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue