pets section

This commit is contained in:
quique 2019-02-13 13:41:48 +01:00
parent 483ff64847
commit 203e5853fa
14 changed files with 78 additions and 48 deletions

View File

@ -227,6 +227,8 @@
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 */; };
EBA55DB42214407100150B88 /* mascotas.png in Resources */ = {isa = PBXBuildFile; fileRef = EBA55DB22214407100150B88 /* mascotas.png */; };
EBA55DB62214416D00150B88 /* nofoto.png in Resources */ = {isa = PBXBuildFile; fileRef = EBA55DB52214416D00150B88 /* nofoto.png */; };
EBC0940721DCB27200FF9C23 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = EBC0940621DCB27200FF9C23 /* GoogleService-Info.plist */; };
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 */; };
@ -525,6 +527,8 @@
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>"; };
EB973E5C21DF49490022757D /* Verdnaturaventas.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Verdnaturaventas.entitlements; sourceTree = "<group>"; };
EBA55DB22214407100150B88 /* mascotas.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = mascotas.png; sourceTree = "<group>"; };
EBA55DB52214416D00150B88 /* nofoto.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = nofoto.png; sourceTree = "<group>"; };
EBC0940621DCB27200FF9C23 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; 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>"; };
@ -751,6 +755,7 @@
A69CEDCD1C3A92CA00482F9B /* Images */ = {
isa = PBXGroup;
children = (
EBA55DB22214407100150B88 /* mascotas.png */,
A6AEC0231CABE59F00807AA3 /* noimagen-01.png */,
A676F1551C9187DE00C0D751 /* 120.png */,
A676F1561C9187DE00C0D751 /* 180.png */,
@ -784,6 +789,7 @@
A676F10E1C91496900C0D751 /* inicio_fill25.png */,
A676F10F1C91496900C0D751 /* inicio_fill50.png */,
A676F1101C91496900C0D751 /* inicio_fill75.png */,
EBA55DB52214416D00150B88 /* nofoto.png */,
A67B6DC51C902D3000F03F3F /* inicio25.png */,
A67B6DC61C902D3000F03F3F /* inicio50.png */,
A67B6DC71C902D3000F03F3F /* inicio75.png */,
@ -1243,6 +1249,7 @@
A65F5E711C47BDF2004FEAE1 /* LaunchScreen.storyboard in Resources */,
A67B6DBC1C90290700F03F3F /* micuenta50.png in Resources */,
A676F13C1C917F1400C0D751 /* micuenta_fill25.png in Resources */,
EBA55DB42214407100150B88 /* mascotas.png in Resources */,
A6366C801C90507000EF8470 /* Raleway-Light.ttf in Resources */,
A6F5814E1C6B11480003D27F /* cancel1.png in Resources */,
A676F1321C917D1000C0D751 /* mispagos75.png in Resources */,
@ -1254,6 +1261,7 @@
A676F1371C917D1000C0D751 /* salir50.png in Resources */,
A676F11E1C915CC500C0D751 /* ticB25.png in Resources */,
A676F1351C917D1000C0D751 /* oculto75.png in Resources */,
EBA55DB62214416D00150B88 /* nofoto.png in Resources */,
A649B9C51C96E68400024538 /* Localizable.strings in Resources */,
A6366C811C90507000EF8470 /* Raleway-Medium.ttf in Resources */,
A676F1581C9187DE00C0D751 /* 180.png in Resources */,

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<customFonts key="customFonts">
@ -24,13 +24,13 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="7UT-iQ-4wD">
<rect key="frame" x="8" y="8" width="284" height="184"/>
<rect key="frame" x="2" y="2" width="296" height="196"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="10"/>
</userDefinedRuntimeAttributes>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="flowers" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K5E-fH-AFc">
<rect key="frame" x="20" y="170" width="260" height="21"/>
<rect key="frame" x="20" y="174" width="260" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="PQC-9I-e4z"/>
</constraints>
@ -41,13 +41,13 @@
</subviews>
</view>
<constraints>
<constraint firstAttribute="bottom" secondItem="7UT-iQ-4wD" secondAttribute="bottom" constant="8" id="2WH-va-GeJ"/>
<constraint firstAttribute="bottom" secondItem="7UT-iQ-4wD" secondAttribute="bottom" constant="2" id="2WH-va-GeJ"/>
<constraint firstAttribute="trailing" secondItem="K5E-fH-AFc" secondAttribute="trailing" constant="20" id="55D-ob-jGs"/>
<constraint firstItem="7UT-iQ-4wD" firstAttribute="top" secondItem="SyG-1K-yFy" secondAttribute="top" constant="8" id="HvM-mi-Bxt"/>
<constraint firstItem="7UT-iQ-4wD" firstAttribute="top" secondItem="SyG-1K-yFy" secondAttribute="top" constant="2" id="HvM-mi-Bxt"/>
<constraint firstItem="K5E-fH-AFc" firstAttribute="leading" secondItem="SyG-1K-yFy" secondAttribute="leading" constant="20" id="PY2-KP-2dZ"/>
<constraint firstAttribute="bottom" secondItem="K5E-fH-AFc" secondAttribute="bottom" constant="9" id="QDJ-pa-yJR"/>
<constraint firstItem="7UT-iQ-4wD" firstAttribute="leading" secondItem="SyG-1K-yFy" secondAttribute="leading" constant="8" id="gUJ-PQ-vnr"/>
<constraint firstAttribute="trailing" secondItem="7UT-iQ-4wD" secondAttribute="trailing" constant="8" id="pW2-Zl-mfE"/>
<constraint firstAttribute="bottom" secondItem="K5E-fH-AFc" secondAttribute="bottom" constant="5" id="QDJ-pa-yJR"/>
<constraint firstItem="7UT-iQ-4wD" firstAttribute="leading" secondItem="SyG-1K-yFy" secondAttribute="leading" constant="2" id="gUJ-PQ-vnr"/>
<constraint firstAttribute="trailing" secondItem="7UT-iQ-4wD" secondAttribute="trailing" constant="2" id="pW2-Zl-mfE"/>
</constraints>
<size key="customSize" width="300" height="200"/>
<connections>

View File

@ -30,7 +30,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>19</string>
<string>20</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>

View File

@ -754,10 +754,10 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Di6-wj-Vfo" customClass="CardView" customModule="Verdnaturaventas" customModuleProvider="target">
<rect key="frame" x="-4" y="64" width="328" height="226"/>
<rect key="frame" x="-4" y="64" width="328" height="199"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SS6-cg-DG6">
<rect key="frame" x="0.0" y="0.0" width="328" height="226"/>
<rect key="frame" x="0.0" y="0.0" width="328" height="199"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="CLIENTE" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uwv-dH-8aG">
<rect key="frame" x="17" y="16" width="295" height="21"/>
@ -778,7 +778,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Urb. El Respirall" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="i57-bX-3Bq">
<rect key="frame" x="17" y="90" width="295" height="17"/>
<rect key="frame" x="17" y="83" width="295" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="4X6-Na-Dgr"/>
</constraints>
@ -787,7 +787,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DIRECCIÓN DE ENTREGA" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4Qg-25-IRQ">
<rect key="frame" x="17" y="69" width="295" height="21"/>
<rect key="frame" x="17" y="62" width="295" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="4v2-I1-8d2"/>
</constraints>
@ -796,7 +796,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="uB3-cI-FP1">
<rect key="frame" x="17" y="193" width="293" height="17"/>
<rect key="frame" x="17" y="175" width="293" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="pyI-QY-HCk"/>
</constraints>
@ -805,7 +805,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="vie,. 22 de enero" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="uyj-Yp-xHz">
<rect key="frame" x="17" y="141" width="293" height="17"/>
<rect key="frame" x="17" y="129" width="293" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="84I-xJ-0gS"/>
</constraints>
@ -814,7 +814,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="LLEGADA" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VzE-Ui-2Sv">
<rect key="frame" x="17" y="120" width="293" height="21"/>
<rect key="frame" x="17" y="108" width="293" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="EHs-ZW-VzS"/>
</constraints>
@ -823,7 +823,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AGENCIA" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="joN-cv-b6A">
<rect key="frame" x="17" y="172" width="293" height="21"/>
<rect key="frame" x="17" y="154" width="293" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="GgY-1i-kwA"/>
</constraints>
@ -832,16 +832,16 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fZE-sB-rCR">
<rect key="frame" x="0.0" y="168" width="328" height="58"/>
<rect key="frame" x="0.0" y="154" width="328" height="45"/>
<constraints>
<constraint firstAttribute="height" constant="58" id="oNu-iL-XNt"/>
<constraint firstAttribute="height" constant="45" id="oNu-iL-XNt"/>
</constraints>
<connections>
<segue destination="BNB-Fe-Q1S" kind="push" identifier="goagencia" id="ZHL-wy-ACl"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ln5-Pf-PzH">
<rect key="frame" x="0.0" y="115" width="328" height="45"/>
<rect key="frame" x="0.0" y="111" width="328" height="45"/>
<constraints>
<constraint firstAttribute="height" constant="45" id="Gco-hX-1Ge"/>
</constraints>
@ -850,9 +850,9 @@
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tqi-gb-YR0">
<rect key="frame" x="0.0" y="67" width="328" height="45"/>
<rect key="frame" x="0.0" y="62" width="328" height="41"/>
<constraints>
<constraint firstAttribute="height" constant="45" id="YIi-tr-mmc"/>
<constraint firstAttribute="height" constant="41" id="YIi-tr-mmc"/>
</constraints>
<connections>
<segue destination="FgC-K2-FWj" kind="push" identifier="goconsignatorios" id="YHl-42-RSG"/>
@ -872,21 +872,21 @@
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="disclouser.png" translatesAutoresizingMaskIntoConstraints="NO" id="Ocq-2v-EC1">
<rect key="frame" x="296" y="80" width="15" height="15"/>
<rect key="frame" x="296" y="79" width="15" height="15"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="ina-kB-iCP"/>
<constraint firstAttribute="width" constant="15" id="oZK-Ug-nJ8"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="disclouser.png" translatesAutoresizingMaskIntoConstraints="NO" id="jCg-B9-yF4">
<rect key="frame" x="296" y="133" width="15" height="15"/>
<rect key="frame" x="296" y="123" width="15" height="15"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="Ist-KC-jk2"/>
<constraint firstAttribute="height" constant="15" id="dqy-Ca-jcl"/>
</constraints>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="disclouser.png" translatesAutoresizingMaskIntoConstraints="NO" id="6Wc-jb-GNO">
<rect key="frame" x="296" y="184" width="15" height="15"/>
<rect key="frame" x="296" y="170" width="15" height="15"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="PDh-8O-vA5"/>
<constraint firstAttribute="height" constant="15" id="PrX-BC-iSI"/>
@ -914,28 +914,28 @@
<constraint firstItem="une-wJ-oCw" firstAttribute="top" secondItem="SS6-cg-DG6" secondAttribute="top" constant="28" id="Ioz-UD-xWj"/>
<constraint firstAttribute="trailing" secondItem="Tqi-gb-YR0" secondAttribute="trailing" id="JNV-nw-Q7K"/>
<constraint firstItem="uwv-dH-8aG" firstAttribute="top" secondItem="SS6-cg-DG6" secondAttribute="top" constant="16" id="JOF-9k-IdK"/>
<constraint firstItem="jCg-B9-yF4" firstAttribute="top" secondItem="Tqi-gb-YR0" secondAttribute="bottom" constant="21" id="LDL-wH-ShI"/>
<constraint firstItem="fZE-sB-rCR" firstAttribute="top" secondItem="ln5-Pf-PzH" secondAttribute="bottom" constant="8" id="OcI-tB-l4q"/>
<constraint firstItem="jCg-B9-yF4" firstAttribute="top" secondItem="Tqi-gb-YR0" secondAttribute="bottom" constant="20" id="LDL-wH-ShI"/>
<constraint firstItem="fZE-sB-rCR" firstAttribute="top" secondItem="ln5-Pf-PzH" secondAttribute="bottom" constant="-2" id="OcI-tB-l4q"/>
<constraint firstAttribute="trailing" secondItem="ln5-Pf-PzH" secondAttribute="trailing" id="QAE-Oz-bB5"/>
<constraint firstAttribute="trailing" secondItem="Ocq-2v-EC1" secondAttribute="trailing" constant="17" id="Sg8-th-KNB"/>
<constraint firstItem="4Qg-25-IRQ" firstAttribute="top" secondItem="zgP-3r-qGb" secondAttribute="bottom" constant="15" id="Vv8-aA-lKx"/>
<constraint firstItem="VzE-Ui-2Sv" firstAttribute="top" secondItem="i57-bX-3Bq" secondAttribute="bottom" constant="13" id="Wqc-6x-X1m"/>
<constraint firstItem="4Qg-25-IRQ" firstAttribute="top" secondItem="zgP-3r-qGb" secondAttribute="bottom" constant="8" id="Vv8-aA-lKx"/>
<constraint firstItem="VzE-Ui-2Sv" firstAttribute="top" secondItem="i57-bX-3Bq" secondAttribute="bottom" constant="8" id="Wqc-6x-X1m"/>
<constraint firstAttribute="trailing" secondItem="uyj-Yp-xHz" secondAttribute="trailing" constant="18" id="a4u-pd-ElZ"/>
<constraint firstItem="fZE-sB-rCR" firstAttribute="leading" secondItem="SS6-cg-DG6" secondAttribute="leading" id="aFM-f8-GUE"/>
<constraint firstAttribute="trailing" secondItem="k5S-32-IP4" secondAttribute="trailing" id="bxW-zy-0Jt"/>
<constraint firstItem="zgP-3r-qGb" firstAttribute="leading" secondItem="SS6-cg-DG6" secondAttribute="leading" constant="17" id="eh7-Az-BIj"/>
<constraint firstItem="Tqi-gb-YR0" firstAttribute="top" secondItem="k5S-32-IP4" secondAttribute="bottom" constant="8" id="flH-dm-jVN"/>
<constraint firstItem="Tqi-gb-YR0" firstAttribute="top" secondItem="k5S-32-IP4" secondAttribute="bottom" constant="3" id="flH-dm-jVN"/>
<constraint firstItem="joN-cv-b6A" firstAttribute="leading" secondItem="SS6-cg-DG6" secondAttribute="leading" constant="17" id="gDB-hW-U5C"/>
<constraint firstItem="k5S-32-IP4" firstAttribute="top" secondItem="SS6-cg-DG6" secondAttribute="top" constant="14" id="gc7-6o-Y9o"/>
<constraint firstAttribute="trailing" secondItem="4Qg-25-IRQ" secondAttribute="trailing" constant="16" id="gcG-bJ-cmd"/>
<constraint firstItem="4Qg-25-IRQ" firstAttribute="leading" secondItem="SS6-cg-DG6" secondAttribute="leading" constant="17" id="grC-rX-Dv1"/>
<constraint firstItem="ln5-Pf-PzH" firstAttribute="top" secondItem="Tqi-gb-YR0" secondAttribute="bottom" constant="3" id="iZf-9A-Vvb"/>
<constraint firstItem="ln5-Pf-PzH" firstAttribute="top" secondItem="Tqi-gb-YR0" secondAttribute="bottom" constant="8" id="iZf-9A-Vvb"/>
<constraint firstAttribute="trailing" secondItem="6Wc-jb-GNO" secondAttribute="trailing" constant="17" id="kMz-z4-39S"/>
<constraint firstItem="zgP-3r-qGb" firstAttribute="top" secondItem="uwv-dH-8aG" secondAttribute="bottom" id="kUV-yU-LDh"/>
<constraint firstItem="joN-cv-b6A" firstAttribute="top" secondItem="uyj-Yp-xHz" secondAttribute="bottom" constant="14" id="kmE-Hk-OyU"/>
<constraint firstItem="Ocq-2v-EC1" firstAttribute="top" secondItem="k5S-32-IP4" secondAttribute="bottom" constant="21" id="lJn-Ke-9Sc"/>
<constraint firstItem="6Wc-jb-GNO" firstAttribute="top" secondItem="ln5-Pf-PzH" secondAttribute="bottom" constant="24" id="nHL-w4-Usf"/>
<constraint firstAttribute="height" constant="226" id="og8-b2-VWU"/>
<constraint firstItem="joN-cv-b6A" firstAttribute="top" secondItem="uyj-Yp-xHz" secondAttribute="bottom" constant="8" id="kmE-Hk-OyU"/>
<constraint firstItem="Ocq-2v-EC1" firstAttribute="top" secondItem="k5S-32-IP4" secondAttribute="bottom" constant="20" id="lJn-Ke-9Sc"/>
<constraint firstItem="6Wc-jb-GNO" firstAttribute="top" secondItem="ln5-Pf-PzH" secondAttribute="bottom" constant="14" id="nHL-w4-Usf"/>
<constraint firstAttribute="height" constant="199" id="og8-b2-VWU"/>
<constraint firstAttribute="trailing" secondItem="fZE-sB-rCR" secondAttribute="trailing" id="q07-dm-eiJ"/>
<constraint firstItem="k5S-32-IP4" firstAttribute="leading" secondItem="SS6-cg-DG6" secondAttribute="leading" id="qWa-Zp-cht"/>
<constraint firstItem="uwv-dH-8aG" firstAttribute="leading" secondItem="SS6-cg-DG6" secondAttribute="leading" constant="17" id="rLB-wD-05W"/>
@ -951,7 +951,7 @@
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="SS6-cg-DG6" firstAttribute="top" secondItem="Di6-wj-Vfo" secondAttribute="top" id="Bnd-SG-aYO"/>
<constraint firstAttribute="height" constant="226" id="O4z-VR-Yrg"/>
<constraint firstAttribute="height" constant="199" id="O4z-VR-Yrg"/>
<constraint firstAttribute="trailing" secondItem="SS6-cg-DG6" secondAttribute="trailing" id="O9e-41-u0f"/>
<constraint firstItem="SS6-cg-DG6" firstAttribute="leading" secondItem="Di6-wj-Vfo" secondAttribute="leading" id="VaZ-59-d3h"/>
</constraints>
@ -962,7 +962,7 @@
</userDefinedRuntimeAttributes>
</view>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="yuC-S6-rCb">
<rect key="frame" x="0.0" y="298" width="320" height="221"/>
<rect key="frame" x="0.0" y="264" width="320" height="255"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="dEM-Bv-wUB">
<size key="itemSize" width="50" height="50"/>
@ -980,7 +980,7 @@
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="yuC-S6-rCb" firstAttribute="centerX" secondItem="Di6-wj-Vfo" secondAttribute="centerX" id="Nfj-WQ-BfB"/>
<constraint firstItem="yuC-S6-rCb" firstAttribute="top" secondItem="Di6-wj-Vfo" secondAttribute="bottom" constant="8" id="Pkq-bs-Si2"/>
<constraint firstItem="yuC-S6-rCb" firstAttribute="top" secondItem="Di6-wj-Vfo" secondAttribute="bottom" constant="1" id="Pkq-bs-Si2"/>
<constraint firstItem="Di6-wj-Vfo" firstAttribute="leading" secondItem="5JN-2x-xOu" secondAttribute="leadingMargin" constant="-20" id="Up9-hb-cbU"/>
<constraint firstAttribute="trailingMargin" secondItem="Di6-wj-Vfo" secondAttribute="trailing" constant="-20" id="dnz-Uu-hJ2"/>
<constraint firstItem="yuC-S6-rCb" firstAttribute="bottom" secondItem="12M-Sw-zfm" secondAttribute="top" id="kgG-NT-9Gl"/>
@ -1023,7 +1023,7 @@
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="3267.1999999999998" y="-825.78710644677665"/>
<point key="canvasLocation" x="3266.25" y="-826.05633802816908"/>
</scene>
<!--View Listado Pedidos Pendientes-->
<scene sceneID="gID-Gk-Dfw">

View File

@ -16,6 +16,7 @@ class Colors: NSObject {
static let supplements: UInt = 0xe91e63
static let artificial: UInt = 0xff9800
static let manufacturing: UInt = 0x795548
static let pets: UInt = 0x6b529c
static let darkFlowers: UInt = 0x501212
static let darkGreens: UInt = 0x827717
@ -23,12 +24,13 @@ class Colors: NSObject {
static let darkSupplements: UInt = 0x700C38
static let darkArtificial: UInt = 0xe65100
static let darkManufacturing: UInt = 0x3e2723
static let darkPets: UInt = 0x413063
static let white: UInt = 0xFFFFFF
static let verdnatura: UInt = 0xA8D52A
static let colors = [Values.FLORES: flowers, Values.VERDES: greens, Values.PLANTAS: plants, Values.ARTIFICIAL: artificial, Values.COMPLEMENTOS: supplements, Values.CONFECCION: manufacturing]
static let colors = [Values.FLORES: flowers, Values.VERDES: greens, Values.PLANTAS: plants, Values.ARTIFICIAL: artificial, Values.COMPLEMENTOS: supplements, Values.CONFECCION: manufacturing, Values.MASCOTAS: pets]
static let darks = [Values.FLORES: darkFlowers, Values.VERDES: darkGreens, Values.PLANTAS: darkPlants, Values.ARTIFICIAL: darkArtificial, Values.COMPLEMENTOS: darkSupplements, Values.CONFECCION: darkManufacturing]
static let darks = [Values.FLORES: darkFlowers, Values.VERDES: darkGreens, Values.PLANTAS: darkPlants, Values.ARTIFICIAL: darkArtificial, Values.COMPLEMENTOS: darkSupplements, Values.CONFECCION: darkManufacturing, Values.MASCOTAS: darkPets]
}

View File

@ -20,6 +20,7 @@ class Values: NSObject {
static let ARTIFICIAL = 4
static let VERDES = 5
static let CONFECCION = 7
static let MASCOTAS = 9
static let CALLBACK_PAGO_OK = "http://ok/"
static let CALLBACK_PAGO_ERROR = "http://error/"

View File

@ -30,12 +30,15 @@ class ViewMain: MyViewVentas, UICollectionViewDelegate, UICollectionViewDataSour
NSLocalizedString("main_plants", comment: ""),
NSLocalizedString("main_artificial", comment: ""),
NSLocalizedString("main_supplements", comment: ""),
NSLocalizedString("main_manufacturing", comment: "")]
NSLocalizedString("main_manufacturing", comment: ""),
"",
NSLocalizedString("mascotas", comment: "")]
let images = ["flor.png", "verde.png", "planta.png", "artificial.png", "complemento.png", "confeccion.png"]
let images = ["flor.png", "verde.png", "planta.png", "artificial.png", "complemento.png", "confeccion.png","nofoto.png", "mascotas.png"]
let ids = [Values.FLORES, Values.VERDES, Values.PLANTAS, Values.ARTIFICIAL, Values.COMPLEMENTOS, Values.CONFECCION]
let ids = [Values.FLORES, Values.VERDES, Values.PLANTAS, Values.ARTIFICIAL, Values.COMPLEMENTOS, Values.CONFECCION, Values.MASCOTAS,Values.MASCOTAS]
let db = Firestore.firestore()
var isIphone5 = false
override func createView() {
super.createView()
@ -49,7 +52,11 @@ class ViewMain: MyViewVentas, UICollectionViewDelegate, UICollectionViewDataSour
self.titleDate.text = NSLocalizedString("main_arraival", comment: "").uppercased()
self.titleAgency.text = NSLocalizedString("main_agency", comment: "").uppercased()
saveUserInFirebase()
let w = self.view.bounds.width
if w <= 320.0 {
isIphone5 = false
}
print("With Window: \(w)")
if (self.aplication.cliente?.Tipo)! != "cliente"{
flechaCliente.isHidden = false
@ -137,6 +144,11 @@ class ViewMain: MyViewVentas, UICollectionViewDelegate, UICollectionViewDataSour
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "CeldaBoton", for: indexPath as IndexPath) as! CeldaBoton
cell.pintarCelda(images[indexPath.row])
cell.title.text = titles[indexPath.row]
if isIphone5 {
cell.title.isHidden = true
}else{
cell.title.isHidden = false
}
return cell
}
@ -162,11 +174,18 @@ class ViewMain: MyViewVentas, UICollectionViewDelegate, UICollectionViewDataSour
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
{
var div:Int = 3
var restHeight:CGFloat = 7.0
let collectionViewWidth = self.collectionBotones.bounds.size.width / 3
if isIphone5 {
div = 4
restHeight = 0.0
}
let collectionViewWidth = self.collectionBotones.bounds.size.width / CGFloat(div)
return CGSize(width: collectionViewWidth, height: collectionViewWidth)
return CGSize(width: collectionViewWidth, height: collectionViewWidth - restHeight)
}
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets {

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB