mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
Compare commits
6 Commits
fix-loadin
...
198
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbd2f77d12 | ||
|
|
ef5ef647d4 | ||
|
|
ce62a0524c | ||
|
|
278c8a01c5 | ||
|
|
f22dc9a18b | ||
|
|
b224a2c313 |
@@ -21,10 +21,16 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
- webapp
|
- webapp
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
|
|
||||||
webapp:
|
webapp:
|
||||||
container_name: bigcapital-webapp
|
container_name: bigcapital-webapp
|
||||||
image: ghcr.io/bigcapitalhq/webapp:latest
|
image: ghcr.io/bigcapitalhq/webapp:latest
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
|
|
||||||
server:
|
server:
|
||||||
container_name: bigcapital-server
|
container_name: bigcapital-server
|
||||||
@@ -37,6 +43,9 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
- mongo
|
- mongo
|
||||||
- redis
|
- redis
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
# Mail
|
# Mail
|
||||||
- MAIL_HOST=${MAIL_HOST}
|
- MAIL_HOST=${MAIL_HOST}
|
||||||
@@ -93,6 +102,9 @@ services:
|
|||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
container_name: bigcapital-mysql
|
container_name: bigcapital-mysql
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
build:
|
build:
|
||||||
context: ./docker/mariadb
|
context: ./docker/mariadb
|
||||||
environment:
|
environment:
|
||||||
@@ -107,6 +119,9 @@ services:
|
|||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
container_name: bigcapital-mongo
|
container_name: bigcapital-mongo
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
build: ./docker/mongo
|
build: ./docker/mongo
|
||||||
expose:
|
expose:
|
||||||
- '27017'
|
- '27017'
|
||||||
@@ -115,6 +130,9 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: bigcapital-redis
|
container_name: bigcapital-redis
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
build:
|
build:
|
||||||
context: ./docker/redis
|
context: ./docker/redis
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ services:
|
|||||||
- '3306'
|
- '3306'
|
||||||
ports:
|
ports:
|
||||||
- '3306:3306'
|
- '3306:3306'
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
build: ./docker/mongo
|
build: ./docker/mongo
|
||||||
@@ -29,6 +32,9 @@ services:
|
|||||||
- mongo:/var/lib/mongodb
|
- mongo:/var/lib/mongodb
|
||||||
ports:
|
ports:
|
||||||
- '27017:27017'
|
- '27017:27017'
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
build:
|
build:
|
||||||
@@ -37,6 +43,9 @@ services:
|
|||||||
- "6379"
|
- "6379"
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: unless-stopped
|
||||||
|
|
||||||
# Volumes
|
# Volumes
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ function BillFormVendorField() {
|
|||||||
name={'vendor_id'}
|
name={'vendor_id'}
|
||||||
items={vendors}
|
items={vendors}
|
||||||
placeholder={<T id={'select_vender_account'} />}
|
placeholder={<T id={'select_vender_account'} />}
|
||||||
onItemChange={(contact) => {
|
onItemSelect={(contact) => {
|
||||||
setFieldValue('vendor_id', contact.id);
|
setFieldValue('vendor_id', contact.id);
|
||||||
setFieldValue('currency_code', contact?.currency_code);
|
setFieldValue('currency_code', contact?.currency_code);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ function VendorCreditNoteFormHeaderFields({
|
|||||||
name={'exchange_rate'}
|
name={'exchange_rate'}
|
||||||
formGroupProps={{ label: ' ', inline: true }}
|
formGroupProps={{ label: ' ', inline: true }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* ------- Vendor Credit date ------- */}
|
{/* ------- Vendor Credit date ------- */}
|
||||||
<FastField name={'vendor_credit_date'}>
|
<FastField name={'vendor_credit_date'}>
|
||||||
{({ form, field: { value }, meta: { error, touched } }) => (
|
{({ form, field: { value }, meta: { error, touched } }) => (
|
||||||
@@ -194,7 +193,7 @@ function VendorCreditFormVendorSelect() {
|
|||||||
name={'vendor_id'}
|
name={'vendor_id'}
|
||||||
items={vendors}
|
items={vendors}
|
||||||
placeholder={<T id={'select_vender_account'} />}
|
placeholder={<T id={'select_vender_account'} />}
|
||||||
onItemChange={(contact) => {
|
onItemSelect={(contact) => {
|
||||||
setFieldValue('vendor_id', contact.id);
|
setFieldValue('vendor_id', contact.id);
|
||||||
setFieldValue('currency_code', contact?.currency_code);
|
setFieldValue('currency_code', contact?.currency_code);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ function PaymentFormVendorSelect() {
|
|||||||
name={'vendor_id'}
|
name={'vendor_id'}
|
||||||
items={vendors}
|
items={vendors}
|
||||||
placeholder={<T id={'select_vender_account'} />}
|
placeholder={<T id={'select_vender_account'} />}
|
||||||
onItemChange={(contact) => {
|
onItemSelect={(contact) => {
|
||||||
setFieldValue('vendor_id', contact.id);
|
setFieldValue('vendor_id', contact.id);
|
||||||
setFieldValue('currency_code', contact?.currency_code);
|
setFieldValue('currency_code', contact?.currency_code);
|
||||||
setPaymentVendorId(contact.id);
|
setPaymentVendorId(contact.id);
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ function CreditNoteCustomersSelect() {
|
|||||||
name={'customer_id'}
|
name={'customer_id'}
|
||||||
items={customers}
|
items={customers}
|
||||||
placeholder={<T id={'select_customer_account'} />}
|
placeholder={<T id={'select_customer_account'} />}
|
||||||
onItemChange={(customer) => {
|
onItemSelect={(customer) => {
|
||||||
setFieldValue('customer_id', customer.id);
|
setFieldValue('customer_id', customer.id);
|
||||||
setFieldValue('currency_code', customer?.currency_code);
|
setFieldValue('currency_code', customer?.currency_code);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ function EstimateFormCustomerSelect() {
|
|||||||
name={'customer_id'}
|
name={'customer_id'}
|
||||||
items={customers}
|
items={customers}
|
||||||
placeholder={<T id={'select_customer_account'} />}
|
placeholder={<T id={'select_customer_account'} />}
|
||||||
onItemChange={(customer) => {
|
onItemSelect={(customer) => {
|
||||||
setFieldValue('customer_id', customer.id);
|
setFieldValue('customer_id', customer.id);
|
||||||
setFieldValue('currency_code', customer?.currency_code);
|
setFieldValue('currency_code', customer?.currency_code);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ function InvoiceFormCustomerSelect() {
|
|||||||
name={'customer_id'}
|
name={'customer_id'}
|
||||||
items={customers}
|
items={customers}
|
||||||
placeholder={<T id={'select_customer_account'} />}
|
placeholder={<T id={'select_customer_account'} />}
|
||||||
onItemChange={(customer) => {
|
onItemSelect={(customer) => {
|
||||||
setFieldValue('customer_id', customer.id);
|
setFieldValue('customer_id', customer.id);
|
||||||
setFieldValue('currency_code', customer?.currency_code);
|
setFieldValue('currency_code', customer?.currency_code);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -263,7 +263,7 @@ function PaymentReceiveCustomerSelect() {
|
|||||||
name={'customer_id'}
|
name={'customer_id'}
|
||||||
items={customers}
|
items={customers}
|
||||||
placeholder={<T id={'select_customer_account'} />}
|
placeholder={<T id={'select_customer_account'} />}
|
||||||
onItemChange={(customer) => {
|
onItemSelect={(customer) => {
|
||||||
setFieldValue('customer_id', customer.id);
|
setFieldValue('customer_id', customer.id);
|
||||||
setFieldValue('full_amount', '');
|
setFieldValue('full_amount', '');
|
||||||
setFieldValue('currency_code', customer?.currency_code);
|
setFieldValue('currency_code', customer?.currency_code);
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ function ReceiptFormCustomerSelect() {
|
|||||||
name={'customer_id'}
|
name={'customer_id'}
|
||||||
items={customers}
|
items={customers}
|
||||||
placeholder={<T id={'select_customer_account'} />}
|
placeholder={<T id={'select_customer_account'} />}
|
||||||
onItemChange={(customer) => {
|
onItemSelect={(customer) => {
|
||||||
setFieldValue('customer_id', customer.id);
|
setFieldValue('customer_id', customer.id);
|
||||||
setFieldValue('currency_code', customer?.currency_code);
|
setFieldValue('currency_code', customer?.currency_code);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user